- overwritten the Beta_8.995 branch with the Gerber_Editor_Upgrade branch

This commit is contained in:
Marius Stanciu
2023-05-24 18:07:05 +03:00
parent c23d0c4ed6
commit 63071a9bae
214 changed files with 22249 additions and 6251 deletions

View File

@@ -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']))