- added a space before Y coordinate in end_code() function in some of the postprocessor files
This commit is contained in:
parent
13cae5d0be
commit
5a0488c19f
|
@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
|
||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
30.01.2019
|
||||||
|
|
||||||
|
- added a space before Y coordinate in end_code() function in some of the postprocessor files
|
||||||
|
|
||||||
29.01.2019
|
29.01.2019
|
||||||
|
|
||||||
- fixed issue in Tool Calculators when a float value was entered starting only with the dot.
|
- fixed issue in Tool Calculators when a float value was entered starting only with the dot.
|
||||||
|
|
|
@ -114,7 +114,7 @@ M0""".format(toolchangez=self.coordinate_format%(p.coords_decimals, toolchangez)
|
||||||
def end_code(self, p):
|
def end_code(self, p):
|
||||||
coords_xy = p['toolchange_xy']
|
coords_xy = p['toolchange_xy']
|
||||||
gcode = ('G00 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + "\n")
|
gcode = ('G00 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + "\n")
|
||||||
gcode += 'G00 X{x}Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + "\n"
|
gcode += 'G00 X{x} Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + "\n"
|
||||||
return gcode
|
return gcode
|
||||||
|
|
||||||
def feedrate_code(self, p):
|
def feedrate_code(self, p):
|
||||||
|
|
|
@ -111,7 +111,7 @@ M0""".format(toolchangez=self.coordinate_format%(p.coords_decimals, toolchangez)
|
||||||
def end_code(self, p):
|
def end_code(self, p):
|
||||||
coords_xy = p['toolchange_xy']
|
coords_xy = p['toolchange_xy']
|
||||||
gcode = ('G00 Z' + self.feedrate_format % (p.fr_decimals, p.endz) + "\n")
|
gcode = ('G00 Z' + self.feedrate_format % (p.fr_decimals, p.endz) + "\n")
|
||||||
gcode += 'G00 X{x}Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + "\n"
|
gcode += 'G00 X{x} Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + "\n"
|
||||||
return gcode
|
return gcode
|
||||||
|
|
||||||
def feedrate_code(self, p):
|
def feedrate_code(self, p):
|
||||||
|
|
|
@ -128,7 +128,7 @@ M0
|
||||||
def end_code(self, p):
|
def end_code(self, p):
|
||||||
coords_xy = p['toolchange_xy']
|
coords_xy = p['toolchange_xy']
|
||||||
gcode = ('G00 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + "\n")
|
gcode = ('G00 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + "\n")
|
||||||
gcode += 'G00 X{x}Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + "\n"
|
gcode += 'G00 X{x} Y{y}'.format(x=coords_xy[0], y=coords_xy[1]) + "\n"
|
||||||
return gcode
|
return gcode
|
||||||
|
|
||||||
def feedrate_code(self, p):
|
def feedrate_code(self, p):
|
||||||
|
|
|
@ -104,7 +104,7 @@ M0 Change to Tool Dia = {toolC}
|
||||||
def end_code(self, p):
|
def end_code(self, p):
|
||||||
coords_xy = p['toolchange_xy']
|
coords_xy = p['toolchange_xy']
|
||||||
gcode = ('G0 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + " " + self.feedrate_rapid_code(p) + "\n")
|
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
|
return gcode
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue