CAM: Do not create useless G0 X0 Y0 movements for mutliprofile operations

This commit is contained in:
tarman3
2025-05-15 21:10:02 +03:00
parent b119588203
commit 7c3b6dd9cf

View File

@@ -290,7 +290,8 @@ class ObjectOp(PathOp.ObjectOp):
pathParams["threshold"] = 2.001 * self.radius
if self.endVector is not None:
pathParams["start"] = self.endVector
if self.endVector[:2] != (0, 0):
pathParams["start"] = self.endVector
elif PathOp.FeatureStartPoint & self.opFeatures(obj) and obj.UseStartPoint:
pathParams["start"] = obj.StartPoint