- overwritten the Beta_8.995 branch with the Gerber_Editor_Upgrade branch
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import AppPreProcTools
|
||||
|
||||
|
||||
class Paste_GRBL(AppPreProcTools):
|
||||
@@ -134,7 +134,7 @@ class Paste_GRBL(AppPreProcTools):
|
||||
' F%s' % str(p['frz_dispense'])
|
||||
|
||||
def down_z_stop_code(self, p):
|
||||
return 'G01 Z' + self.coordinate_format % (p.coords_decimals, float(p['z_stop'])) + ' F%s' % str(p['frz'])
|
||||
return 'G01 Z' + self.coordinate_format % (p.coords_decimals, float(p['z_stop'])) + ' F%s' % str(p['frz'])
|
||||
|
||||
def toolchange_code(self, p):
|
||||
fr_rapids = float(p['fr_rapids'])
|
||||
@@ -250,4 +250,4 @@ G01 Z{z_toolchange} F{fr_rapids}
|
||||
|
||||
def dwell_rev_code(self, p):
|
||||
if p.dwelltime:
|
||||
return 'G4 P' + str(float(p['dwellrev']))
|
||||
return 'G4 P' + str(float(p['dwellrev']))
|
||||
|
||||
Reference in New Issue
Block a user