Merge pull request #25371 from tarman3/engrave_fix9114

CAM: Engrave - Fix #9114 - Unable to engrave an arc
This commit is contained in:
sliptonic
2025-11-17 11:19:23 -06:00
committed by GitHub

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})