From bd345aceb8fa75ac448e571a8ad844fac9ed2cce Mon Sep 17 00:00:00 2001 From: tarman3 Date: Sun, 16 Nov 2025 20:47:21 +0200 Subject: [PATCH] CAM: Engrave - Fix #9114 - Unable to engrave an arc --- src/Mod/CAM/Path/Op/Engrave.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Mod/CAM/Path/Op/Engrave.py b/src/Mod/CAM/Path/Op/Engrave.py index b9a554dadd..296132fd0b 100644 --- a/src/Mod/CAM/Path/Op/Engrave.py +++ b/src/Mod/CAM/Path/Op/Engrave.py @@ -133,11 +133,14 @@ class ObjectEngrave(PathEngraveBase.ObjectOp): elif hasattr(base, "ArrayType"): jobshapes.append(base.Shape) - if len(jobshapes) > 0: + if jobshapes: Path.Log.debug("processing {} jobshapes".format(len(jobshapes))) wires = [] for shape in jobshapes: - shapeWires = shape.Wires + if isinstance(shape, Part.Edge): + shapeWires = [Part.Wire(shape)] + else: + shapeWires = shape.Wires Path.Log.debug("jobshape has {} edges".format(len(shape.Edges))) self.commandlist.append( Path.Command("G0", {"Z": obj.ClearanceHeight.Value, "F": self.vertRapid})