- added to the postprocessor files the command after toolchange to go with G00 (fastest) to "Z Move" value of Z pozition.
This commit is contained in:
@@ -112,6 +112,7 @@ M0""".format(toolchangez=self.coordinate_format % (p.coords_decimals, toolchange
|
||||
t_drills=no_drills,
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G00 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
else:
|
||||
@@ -137,6 +138,7 @@ M0""".format(toolchangez=self.coordinate_format%(p.coords_decimals, toolchangez)
|
||||
tool=int(p.tool),
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G00 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
def up_to_zero_code(self, p):
|
||||
|
||||
@@ -111,6 +111,7 @@ M0""".format(toolchangez=self.coordinate_format % (p.coords_decimals, toolchange
|
||||
t_drills=no_drills,
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G00 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
else:
|
||||
@@ -136,6 +137,7 @@ M0""".format(toolchangez=self.coordinate_format%(p.coords_decimals, toolchangez)
|
||||
tool=int(p.tool),
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G00 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
def up_to_zero_code(self, p):
|
||||
|
||||
@@ -123,6 +123,7 @@ M0
|
||||
t_drills=no_drills,
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G00 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
else:
|
||||
@@ -143,7 +144,7 @@ M0
|
||||
tool=int(p.tool),
|
||||
toolC=toolC_formatted)
|
||||
else:
|
||||
gcode = """G00 Z{toolchangez}
|
||||
gcode = """G00 Z{toolchangez}
|
||||
T{tool}
|
||||
M5
|
||||
(MSG, Change to Tool Dia = {toolC})
|
||||
@@ -156,6 +157,7 @@ M0
|
||||
tool=int(p.tool),
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G00 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
def up_to_zero_code(self, p):
|
||||
|
||||
@@ -112,6 +112,7 @@ M0""".format(toolchangez=self.coordinate_format % (p.coords_decimals, toolchange
|
||||
t_drills=no_drills,
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G0 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
else:
|
||||
@@ -137,6 +138,7 @@ M0""".format(toolchangez=self.coordinate_format%(p.coords_decimals, toolchangez)
|
||||
tool=int(p.tool),
|
||||
toolC=toolC_formatted)
|
||||
|
||||
gcode += 'G0 Z%.*f' % (p.coords_decimals, p.zmove)
|
||||
return gcode
|
||||
|
||||
def up_to_zero_code(self, p):
|
||||
|
||||
Reference in New Issue
Block a user