- fixed the 'cncjob' Tcl Command to work in the new configuration of the data structures

This commit is contained in:
Marius Stanciu
2022-01-15 18:05:56 +02:00
committed by Marius
parent 7e3152e7a3
commit f59a166503
4 changed files with 104 additions and 54 deletions

View File

@@ -3851,7 +3851,11 @@ class CNCjob(Geometry):
self.z_feedrate = float(tool_dict['tools_mill_feedrate_z'])
self.feedrate_rapid = float(tool_dict['tools_mill_feedrate_rapid'])
self.spindlespeed = float(tool_dict['tools_mill_spindlespeed'])
try:
self.spindlespeed = float(tool_dict['tools_mill_spindlespeed'])
except TypeError:
self.spindlespeed = 0.0
try:
self.spindledir = tool_dict['tools_mill_spindledir']
except KeyError: