CAM: Engrave - Fix #9114 - Unable to engrave an arc

(cherry picked from commit a514cfdf4b)
This commit is contained in:
tarman3
2025-11-18 11:04:48 +01:00
committed by Max Wilfinger
parent 37f014998c
commit 894e1d9ae2
+5 -2
View File
@@ -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})