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

@@ -142,8 +142,8 @@ class ObjectPocket(PathPocketBase.ObjectPocket):
job = PathUtils.findParentJob(obj)
if job and job.Stock:
bb = job.Stock.Shape.BoundBox
obj.FinalDepth = bb.ZMin
obj.StartDepth = bb.ZMax
obj.OpFinalDepth = bb.ZMin
obj.OpStartDepth = bb.ZMax
def Create(name):
'''Create(name) ... Creates and returns a Pocket operation.'''