- maintenance_1
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
# MIT Licence #
|
||||
##############################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Berta_CNC(PreProc):
|
||||
class Berta_CNC(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
@@ -102,7 +102,7 @@ class Berta_CNC(PreProc):
|
||||
gcode += '(Spindle Speed: %s RPM)\n' % str(p['spindlespeed'])
|
||||
|
||||
gcode += (
|
||||
# This line allow you to sets the machine to METRIC / INCH in the AppGUI
|
||||
# This line allow you to sets the machine to METRIC / INCH in the GUI
|
||||
'G20\n' if p.units.upper() == 'IN' else 'G21\n') + '\n'
|
||||
# gcode += 'G21\n' # This line sets the machine to METRIC ONLY
|
||||
# gcode += 'G20\n' # This line sets the machine to INCH ONLY
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
# This post processor is configured to output code that
|
||||
# is compatible with almost any version of Grbl.
|
||||
|
||||
|
||||
class GRBL_laser(PreProc):
|
||||
class GRBL_laser(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class ISEL_CNC(PreProc):
|
||||
class ISEL_CNC(FlatCAMPostProc):
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
feedrate_format = '%.*f'
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class ISEL_ICP_CNC(PreProc):
|
||||
class ISEL_ICP_CNC(FlatCAMPostProc):
|
||||
include_header = False
|
||||
|
||||
def start_code(self, p):
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Marlin(PreProc):
|
||||
class Marlin(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# License: MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Marlin_laser_FAN_pin(PreProc):
|
||||
class Marlin_laser_FAN_pin(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# License: MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Marlin_laser_Spindle_pin(PreProc):
|
||||
class Marlin_laser_Spindle_pin(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Paste_1(AppPreProcTools):
|
||||
class Paste_1(FlatCAMPostProc_Tools):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Repetier(PreProc):
|
||||
class Repetier(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
# for Roland Preprocessors it is mandatory for the preprocessor name (python file and class name, both of them must be
|
||||
# the same) to contain the following keyword, case-sensitive: 'Roland' without the quotes.
|
||||
class Roland_MDX_20(PreProc):
|
||||
class Roland_MDX_20(FlatCAMPostProc):
|
||||
|
||||
include_header = False
|
||||
coordinate_format = "%.1f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Toolchange_Custom(PreProc):
|
||||
class Toolchange_Custom(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Toolchange_Manual(PreProc):
|
||||
class Toolchange_Manual(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class Toolchange_Probe_MACH3(PreProc):
|
||||
class Toolchange_Probe_MACH3(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
@@ -106,10 +106,10 @@ class Toolchange_Probe_MACH3(PreProc):
|
||||
return g
|
||||
|
||||
def lift_code(self, p):
|
||||
return 'G00 Z' + self.coordinate_format % (p.coords_decimals, p.z_move)
|
||||
return 'G00 Z' + self.coordinate_format%(p.coords_decimals, p.z_move)
|
||||
|
||||
def down_code(self, p):
|
||||
return 'G01 Z' + self.coordinate_format % (p.coords_decimals, p.z_cut)
|
||||
return 'G01 Z' + self.coordinate_format%(p.coords_decimals, p.z_cut)
|
||||
|
||||
def toolchange_code(self, p):
|
||||
z_toolchange = p.z_toolchange
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class default(PreProc):
|
||||
class default(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class grbl_11(PreProc):
|
||||
class grbl_11(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
# for Roland Preprocessors it is mandatory for the preprocessor name (python file and class name, both of them must be
|
||||
# the same) to contain the following keyword, case-sensitive: 'Roland' without the quotes.
|
||||
class hpgl(PreProc):
|
||||
class hpgl(FlatCAMPostProc):
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from AppPreProcessor import *
|
||||
from FlatCAMPostProc import *
|
||||
|
||||
|
||||
class line_xyz(PreProc):
|
||||
class line_xyz(FlatCAMPostProc):
|
||||
|
||||
include_header = True
|
||||
coordinate_format = "%.*f"
|
||||
|
||||
Reference in New Issue
Block a user