- 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

@@ -10,10 +10,10 @@
# MIT Licence #
##############################################################
from FlatCAMPostProc import *
from AppPreProcessor import *
class Berta_CNC(FlatCAMPostProc):
class Berta_CNC(PreProc):
include_header = True
coordinate_format = "%.*f"
@@ -102,7 +102,7 @@ class Berta_CNC(FlatCAMPostProc):
gcode += '(Spindle Speed: %s RPM)\n' % str(p['spindlespeed'])
gcode += (
# This line allow you to sets the machine to METRIC / INCH in the GUI
# This line allow you to sets the machine to METRIC / INCH in the AppGUI
'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