- added a new preprocessor for Marlin that has movemements on the Z axis named Marlin_laser_Z
- cleaned up Marlin preprocessors
This commit is contained in:
@@ -65,7 +65,7 @@ class GRBL_laser_Z(PreProc):
|
||||
gcode += '(X range: ' + '{: >9s}'.format(xmin) + ' ... ' + '{: >9s}'.format(xmax) + ' ' + units + ')\n'
|
||||
gcode += '(Y range: ' + '{: >9s}'.format(ymin) + ' ... ' + '{: >9s}'.format(ymax) + ' ' + units + ')\n\n'
|
||||
|
||||
gcode += ('G20' if p.units.upper() == 'IN' else 'G21') + "\n"
|
||||
gcode += 'G20\n' if p.units.upper() == 'IN' else 'G21\n'
|
||||
gcode += 'G90\n'
|
||||
gcode += 'G17\n'
|
||||
gcode += 'G94'
|
||||
|
||||
Reference in New Issue
Block a user