- made sure that for laser preprocessors, the laser is always turned off completely at the end of a job

- added a new script example
This commit is contained in:
Marius Stanciu
2022-01-31 04:13:41 +02:00
committed by Marius
parent 056ff05e29
commit 7ac1ff6364
11 changed files with 85 additions and 54 deletions

View File

@@ -122,8 +122,4 @@ class GRBL_laser(PreProc):
return ''
def spindle_stop_code(self, p):
if float(p.laser_min_power) > 0.0:
# the formatted text: laser OFF must always be like this else the plotting will not be done correctly
return 'M3 S%s (laser OFF)\n' % str(p.laser_min_power)
else:
return 'M5'
return 'M5'