Basic editor and shape update.
This commit is contained in:
@@ -80,7 +80,8 @@ class ObjectFace(PathPocketBase.ObjectPocket):
|
||||
# default depths calculation not correct for facing
|
||||
if prop == "Base":
|
||||
job = PathUtils.findParentJob(obj)
|
||||
obj.OpStartDepth = job.Stock.Shape.BoundBox.ZMax
|
||||
if job:
|
||||
obj.OpStartDepth = job.Stock.Shape.BoundBox.ZMax
|
||||
|
||||
if len(obj.Base) >= 1:
|
||||
print('processing')
|
||||
@@ -95,7 +96,7 @@ class ObjectFace(PathPocketBase.ObjectPocket):
|
||||
# Otherwise, top of part.
|
||||
|
||||
obj.OpFinalDepth = Part.makeCompound(sublist).BoundBox.ZMax
|
||||
else:
|
||||
elif job:
|
||||
obj.OpFinalDepth = job.Proxy.modelBoundBox(job).ZMax
|
||||
|
||||
def areaOpShapes(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user