pass endVectorin PathAreaOp and clean up gcode generation
This commit is contained in:
@@ -476,8 +476,9 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
sims.append(sim)
|
||||
# Eif
|
||||
|
||||
if self.areaOpRetractTool(obj):
|
||||
self.endVector = None # pylint: disable=attribute-defined-outside-init
|
||||
if self.areaOpRetractTool(obj) and self.endVector is not None:
|
||||
self.endVector[2] = obj.ClearanceHeight.Value
|
||||
self.commandlist.append(Path.Command('G0', {'Z': obj.ClearanceHeight.Value, 'F': self.vertRapid}))
|
||||
|
||||
# Raise cutter to safe height and rotate back to original orientation
|
||||
if self.rotateFlag is True:
|
||||
|
||||
Reference in New Issue
Block a user