- maintenance_2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user