From d8a8084c298b1ef86317e2690896fe65ebe18d11 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Tue, 22 Mar 2022 18:16:31 -0500 Subject: [PATCH] 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. --- src/Mod/Path/PathScripts/PathMillFace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathMillFace.py b/src/Mod/Path/PathScripts/PathMillFace.py index 386c95b90a..59e42aace2 100644 --- a/src/Mod/Path/PathScripts/PathMillFace.py +++ b/src/Mod/Path/PathScripts/PathMillFace.py @@ -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: