Path: Fix Face Region with no Base

This fix addresses an incorrect shape variable passed when Boundary Shape is set to Face Region and there is no Base geometry - indicating entire model to be milled.
This commit is contained in:
Russell Johnson
2022-03-22 18:16:31 -05:00
parent d3f99b26e5
commit d8a8084c29

View File

@@ -281,7 +281,7 @@ class ObjectFace(PathPocketBase.ObjectPocket):
partshape=planeshape, depthparams=self.depthparams
)
elif obj.BoundaryShape == "Face Region":
baseShape = oneBase[0].Shape
baseShape = planeshape # oneBase[0].Shape
psZMin = planeshape.BoundBox.ZMin
ofst = 0.0
if obj.ClearEdges: