- 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

@@ -10,7 +10,8 @@
# MIT Licence #
##############################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Berta_CNC(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Check_points(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Default_no_M6(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class GRBL_11(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class GRBL_11_no_M6(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
# This post processor is configured to output code that
# is compatible with almost any version of Grbl.

View File

@@ -8,7 +8,7 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
# This post processor is configured to output code that
# is compatible with almost any version of Grbl.

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class ISEL_CNC(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class ISEL_ICP_CNC(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Line_xyz(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Marlin(PreProc):

View File

@@ -6,7 +6,7 @@
# License: MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
class Marlin_laser_FAN_pin(PreProc):

View File

@@ -6,7 +6,7 @@
# License: MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
class Marlin_laser_Spindle_pin(PreProc):

View File

@@ -6,7 +6,7 @@
# License: MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
class Marlin_laser_z(PreProc):

View File

@@ -10,7 +10,8 @@
# http://www.max-computer.de/x5e/adaption-of-post-processor.html
# https://github.com/FreeCAD/FreeCAD/pull/2876/files
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class NCCAD9(PreProc):

View File

@@ -6,7 +6,7 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import AppPreProcTools
class Paste_1(AppPreProcTools):
@@ -133,7 +133,7 @@ class Paste_1(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'])

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

View File

@@ -6,7 +6,7 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import AppPreProcTools
class Paste_Marlin(AppPreProcTools):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Repetier(PreProc):

View File

@@ -6,7 +6,7 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
# for Roland Preprocessors it is mandatory for the preprocessor name (python file and class name, both of them must be

View File

@@ -6,7 +6,7 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
# for Roland Preprocessors it is mandatory for the preprocessor name (python file and class name, both of them must be

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Toolchange_Manual(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class Toolchange_Probe_MACH3(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class default(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
import math
class default_laser(PreProc):

View File

@@ -6,7 +6,8 @@
# MIT Licence #
# ########################################################## ##
from appPreProcessor import *
from appPreProcessor import PreProc
import math
# This post processor is configured to output code for
# lasers without Z Axis
# and to convert excellon drillcodes into arcs

View File

@@ -6,7 +6,7 @@
# MIT Licence #
# ##########################################################
from appPreProcessor import *
from appPreProcessor import PreProc
# for Roland Preprocessors it is mandatory for the preprocessor name (python file and class name, both of them must be