- fixed preprocessors issue where the start GCode was not added due of trying to access an object that did not exist (because its name was not changed to reflect the changes in other parts on the app)

This commit is contained in:
Marius Stanciu
2023-10-19 12:41:23 +03:00
parent ca630be149
commit f39ba21c81
9 changed files with 12 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ class GRBL_11(PreProc):
gcode += '(Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + ')\n'
gcode += '\n(Tools Offset: )\n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += '(Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + ')\n'

View File

@@ -59,7 +59,7 @@ class GRBL_11_no_M6(PreProc):
gcode += '(Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + ')\n'
gcode += '\n(Tools Offset: )\n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += '(Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + ')\n'

View File

@@ -57,7 +57,7 @@ class ISEL_CNC(PreProc):
gcode += '(Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + ')\n'
gcode += '\n(Tools Offset: )\n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += '(Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + ')\n'

View File

@@ -57,7 +57,7 @@ class ISEL_ICP_CNC(PreProc):
gcode += ';Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + '\n'
gcode += '\n;Tools Offset: \n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += ';Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + '\n'

View File

@@ -58,7 +58,7 @@ class Line_xyz(PreProc):
gcode += '(Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + ')\n'
gcode += '\n(Tools Offset: )\n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += '(Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + ')\n'

View File

@@ -59,7 +59,7 @@ class Marlin(PreProc):
gcode += ';Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + '\n'
gcode += '\n;Tools Offset: \n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += ';Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + '\n'

View File

@@ -59,7 +59,7 @@ class Repetier(PreProc):
gcode += ';Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + '\n'
gcode += '\n;Tools Offset: \n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += ';Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + '\n'

View File

@@ -58,7 +58,7 @@ class Toolchange_Probe_MACH3(PreProc):
gcode += '(Tool: %s -> ' % str(tool) + 'Z_Cut: %s' % str(val['data']["tools_drill_cutz"]) + ')\n'
gcode += '\n(Tools Offset: )\n'
for tool, val in p['exc_cnc_tools'].items():
for tool, val in p['tools'].items():
gcode += '(Tool: %s -> ' % str(tool) + 'Offset Z: %s' % \
str(val['data']["tools_drill_offset"]) + ')\n'