- 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:
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user