Fixed all ops to use Op...Depth in order to not mess with the expressions.

This commit is contained in:
Markus Lampert
2017-10-16 20:55:11 -07:00
parent 1a29468094
commit eaa7b6f591
11 changed files with 205 additions and 101 deletions

View File

@@ -262,10 +262,8 @@ class ObjectSurface(PathOp.ObjectOp):
job = PathUtils.findParentJob(obj)
if job and job.Base:
d = PathUtils.guessDepths(job.Base.Shape, None)
obj.ClearanceHeight = d.clearance_height
obj.SafeHeight = d.safe_height + 1
obj.StartDepth = d.safe_height
obj.FinalDepth = d.start_depth
obj.OpStartDepth = d.safe_height
obj.OpFinalDepth = d.start_depth
def Create(name):
'''Create(name) ... Creates and returns a Surface operation.'''