CAM: fix for linuxcnc ignoring --preamble argument, with test
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user