- 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:
@@ -10,7 +10,8 @@
|
||||
# MIT Licence #
|
||||
##############################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Berta_CNC(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Check_points(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Default_no_M6(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class GRBL_11(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class GRBL_11_no_M6(PreProc):
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class ISEL_CNC(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class ISEL_ICP_CNC(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Line_xyz(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Marlin(PreProc):
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# License: MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
|
||||
|
||||
class Marlin_laser_FAN_pin(PreProc):
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# License: MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
|
||||
|
||||
class Marlin_laser_Spindle_pin(PreProc):
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# License: MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
|
||||
|
||||
class Marlin_laser_z(PreProc):
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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'])
|
||||
|
||||
@@ -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']))
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import AppPreProcTools
|
||||
|
||||
|
||||
class Paste_Marlin(AppPreProcTools):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Repetier(PreProc):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Toolchange_Manual(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class Toolchange_Probe_MACH3(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class default(PreProc):
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from appPreProcessor import *
|
||||
from appPreProcessor import PreProc
|
||||
import math
|
||||
|
||||
|
||||
class default_laser(PreProc):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user