- added a space before Y coordinate in end_code() function in some of the postprocessor files

This commit is contained in:
Marius Stanciu
2019-01-29 23:27:42 +02:00
committed by Marius S
parent 13cae5d0be
commit 5a0488c19f
5 changed files with 8 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ M0 Change to Tool Dia = {toolC}
def end_code(self, p):
coords_xy = p['toolchange_xy']
gcode = ('G0 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + " " + self.feedrate_rapid_code(p) + "\n")
gcode += 'G0 X{x}Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + " " + self.feedrate_rapid_code(p) + "\n"
gcode += 'G0 X{x} Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + " " + self.feedrate_rapid_code(p) + "\n"
return gcode