- improved the running of scripts when loading from GUI a script as a FlatCAM script

This commit is contained in:
Marius Stanciu
2022-01-22 00:23:22 +02:00
committed by Marius
parent 17533aebc3
commit 90165ce0ac
5 changed files with 89 additions and 83 deletions

View File

@@ -3412,7 +3412,6 @@ class ToolMilling(AppTool, Excellon):
is_last = True if tooluid_key == tool_lst[-1] else False
last_pt = tools_dict[tooluid_key]['data']['tools_mill_endxy']
print(tools_dict[tooluid_key]['data']['tools_mill_ppname_g'])
res, start_gcode = new_cncjob_obj.geometry_tool_gcode_gen(tooluid_key, tools_dict, first_pt=first_pt,
last_pt=last_pt,
tolerance=tol,

View File

@@ -462,9 +462,6 @@ class FCShell(TermWidget):
will create crashes of the _Expandable_Edit widget
:return: output if there was any
"""
self.app.defaults.report_usage('exec_command')
return self.exec_command_test(text, False, no_echo=no_echo)
def exec_command_test(self, text, reraise=True, no_echo=False):