CAM: RampEntry Dressup - Remove X0Y0 from beginning

This commit is contained in:
tarman3
2025-12-11 08:22:35 +02:00
parent a872e85ab2
commit e20e9e78c9

View File

@@ -343,13 +343,6 @@ class ObjectDressup:
last_params.update(params)
if cmd.Name in Path.Geom.CmdMoveAll and (
"X" not in params or "Y" not in params or "Z" not in params
):
params["X"] = params.get("X", start_point[0])
params["Y"] = params.get("Y", start_point[1])
params["Z"] = params.get("Z", start_point[2])
cmd = Path.Command(cmd.Name, params)
annotated = AnnotatedGCode(cmd, start_point)
self.edges.append(annotated)
start_point = annotated.end_point