From ff74e3cd6c669b6c4096dd270d653b0b15d66e5f Mon Sep 17 00:00:00 2001 From: Jon Escombe Date: Mon, 20 Feb 2023 17:44:22 +0000 Subject: [PATCH] [Path] Adaptive - improve 'use outline' logic Path_Adaptive attempts to find the outline of a face using face.Wires[0], change to use face.OuterWire instead --- src/Mod/Path/Path/Op/Adaptive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/Path/Op/Adaptive.py b/src/Mod/Path/Path/Op/Adaptive.py index 6c93c3e2c7..c5069cebbf 100644 --- a/src/Mod/Path/Path/Op/Adaptive.py +++ b/src/Mod/Path/Path/Op/Adaptive.py @@ -839,7 +839,7 @@ def _get_working_edges(op, obj): face = base.Shape.getElement(sub) # get outline with wire_A method used in PocketShape, but it does not play nicely later # wire_A = TechDraw.findShapeOutline(face, 1, FreeCAD.Vector(0.0, 0.0, 1.0)) - wire_B = face.Wires[0] + wire_B = face.OuterWire shape = Part.Face(wire_B) else: shape = base.Shape.getElement(sub)