- fixed TclCommand Cutout

- added a new TclCommand named CutoutAny. Keyword: cutout_any
This commit is contained in:
Marius Stanciu
2019-01-25 20:46:30 +02:00
committed by Marius S
parent f459bf0782
commit d1b1a097c1
3 changed files with 8 additions and 3 deletions

View File

@@ -105,7 +105,8 @@ M0""".format(toolchangez=self.coordinate_format%(p.coords_decimals, toolchangez)
return ('G00 ' + self.position_code(p)).format(**p)
def linear_code(self, p):
return ('G01 ' + self.position_code(p)).format(**p) + " " + self.feedrate_code(p)
return ('G01 ' + self.position_code(p)).format(**p) + \
' F' + str(self.feedrate_format %(p.fr_decimals, p.feedrate))
def end_code(self, p):
coords_xy = p['toolchange_xy']