- Milling Tool - more or less made the CNCJob generation for multigeo Geometries to work; still the parameters may not be used

- removed the Generate CNCJob context menu action in the Project Menu as this will not work anymore
This commit is contained in:
Marius Stanciu
2020-12-02 00:13:57 +02:00
committed by Marius
parent e42b1e28be
commit 112588d293
6 changed files with 104 additions and 124 deletions

View File

@@ -2138,7 +2138,6 @@ class App(QtCore.QObject):
def connect_project_context_signals(self):
self.ui.menuprojectenable.triggered.connect(self.on_enable_sel_plots)
self.ui.menuprojectdisable.triggered.connect(self.on_disable_sel_plots)
self.ui.menuprojectgeneratecnc.triggered.connect(lambda: self.generate_cnc_job(self.collection.get_selected()))
self.ui.menuprojectviewsource.triggered.connect(self.on_view_source)
self.ui.menuprojectcopy.triggered.connect(self.on_copy_command)
@@ -8207,20 +8206,6 @@ class App(QtCore.QObject):
idx = item_index.row()
self.defaults["gerber_color_list"][idx] = new_c
def generate_cnc_job(self, objects):
"""
Slot that will be called by clicking an entry in the contextual menu generated in the Project Tab tree
:param objects: Selected objects in the Project Tab
:return:
"""
self.defaults.report_usage("generate_cnc_job()")
# for obj in objects:
# obj.generatecncjob()
for obj in objects:
obj.on_generatecnc_button_click()
def start_delayed_quit(self, delay, filename, should_quit=None):
"""