- fixed some possible issues due of changes in version 2.0 of Shapely

- removed the import * statement from most of the app
This commit is contained in:
Marius Stanciu
2023-03-06 16:40:49 +02:00
parent 33de5314b1
commit 3b3c87e953
230 changed files with 1253 additions and 15935 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']))