- maintenance_2

This commit is contained in:
Marius Stanciu
2020-06-02 18:29:45 +03:00
committed by Marius
parent 38fa25ed3d
commit f5c84fdc49
255 changed files with 162378 additions and 152106 deletions

View File

@@ -6,10 +6,10 @@
# MIT Licence #
# ##########################################################
from FlatCAMPostProc import *
from AppPreProcessor import *
class Toolchange_Probe_MACH3(FlatCAMPostProc):
class Toolchange_Probe_MACH3(PreProc):
include_header = True
coordinate_format = "%.*f"
@@ -106,10 +106,10 @@ class Toolchange_Probe_MACH3(FlatCAMPostProc):
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