CAM: fix for linuxcnc ignoring --preamble argument, with test

This commit is contained in:
Lawrence Woestman
2025-11-24 14:40:16 -08:00
parent 9cab1f8f52
commit f349336fc8
2 changed files with 12 additions and 4 deletions

View File

@@ -172,10 +172,7 @@ M2"""
# Update PREAMBLE with blend command
blend_cmd = self._get_blend_command()
self.values[
"PREAMBLE"
] = f"""G17 G54 G40 G49 G80 G90
{blend_cmd}"""
self.values["PREAMBLE"] += f'\n{blend_cmd}'
return flag, args