- updated the GCode header
This commit is contained in:
@@ -912,7 +912,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
||||
pass
|
||||
|
||||
if marlin is True:
|
||||
gcode += ';Marlin(Repetier) G-CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s\n' % \
|
||||
gcode += ';Marlin(Repetier) G-code generated by FlatCAM Evo v%s - Version Date: %s\n' % \
|
||||
(str(self.app.version), str(self.app.version_date)) + '\n'
|
||||
|
||||
gcode += ';Name: ' + str(self.obj_options['name']) + '\n'
|
||||
@@ -921,7 +921,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
||||
gcode += ';Units: ' + self.units.upper() + '\n' + "\n"
|
||||
gcode += ';Created on ' + time_str + '\n' + '\n'
|
||||
elif hpgl is True:
|
||||
gcode += 'CO "HPGL CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s' % \
|
||||
gcode += 'CO "HPGL code generated by FlatCAM Evo v%s - Version Date: %s' % \
|
||||
(str(self.app.version), str(self.app.version_date)) + '";\n'
|
||||
|
||||
gcode += 'CO "Name: ' + str(self.obj_options['name']) + '";\n'
|
||||
@@ -930,7 +930,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
||||
gcode += 'CO "Units: ' + self.units.upper() + '";\n'
|
||||
gcode += 'CO "Created on ' + time_str + '";\n'
|
||||
elif probe_pp is True:
|
||||
gcode += '(G-CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s)\n' % \
|
||||
gcode += '(G-code generated by FlatCAM Evo v%s - Version Date: %s)\n' % \
|
||||
(str(self.app.version), str(self.app.version_date)) + '\n'
|
||||
|
||||
gcode += '(This GCode tool change is done by using a Probe.)\n' \
|
||||
@@ -945,7 +945,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
||||
gcode += '(Units: ' + self.units.upper() + ')\n' + "\n"
|
||||
gcode += '(Created on ' + time_str + ')\n' + '\n'
|
||||
elif nccad_pp is True:
|
||||
gcode += ';NCCAD9 G-CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s\n' % \
|
||||
gcode += ';NCCAD9 G-code generated by FlatCAM Evo v%s - Version Date: %s\n' % \
|
||||
(str(self.app.version), str(self.app.version_date)) + '\n'
|
||||
|
||||
gcode += ';Name: ' + str(self.obj_options['name']) + '\n'
|
||||
@@ -954,7 +954,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
|
||||
gcode += ';Units: ' + self.units.upper() + '\n' + "\n"
|
||||
gcode += ';Created on ' + time_str + '\n' + '\n'
|
||||
else:
|
||||
gcode += '%sG-CODE GENERATED BY FLATCAM v%s - www.flatcam.org - Version Date: %s%s\n' % \
|
||||
gcode += '%sG-code generated by FlatCAM Evo v%s - Version Date: %s%s\n' % \
|
||||
(start_comment, str(self.app.version), str(self.app.version_date), stop_comment) + '\n'
|
||||
|
||||
gcode += '%sName: ' % start_comment + str(self.obj_options['name']) + '%s\n' % stop_comment
|
||||
|
||||
Reference in New Issue
Block a user