- added icons to the Project Tab context menu

- added new entries to the Canvas context menu (Copy, Delete, Edit/Save, Move, New Excellon, New Geometry, New Project)
This commit is contained in:
Marius Stanciu
2019-01-26 00:26:58 +02:00
committed by Marius S
parent 41d7ef9e2c
commit 34749cae66
3 changed files with 6 additions and 4 deletions

View File

@@ -52,7 +52,8 @@ class grbl_laser(FlatCAMPostProc):
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):
gcode = ('G00 Z' + self.feedrate_format %(p.fr_decimals, p.endz) + "\n")