- added the 'Save' menu entry to the Project context menu, for CNCJob: it will export the GCode.

This commit is contained in:
Marius Stanciu
2019-02-16 03:01:54 +02:00
committed by Marius S
parent 31f36fd01e
commit 3293223991
3 changed files with 8 additions and 1 deletions

View File

@@ -4720,6 +4720,8 @@ class App(QtCore.QObject):
self.on_file_exportdxf()
elif type(obj) == FlatCAMExcellon:
self.on_file_exportexcellon()
elif type(obj) == FlatCAMCNCjob:
obj.on_exportgcode_button_click()
def obj_move(self):
self.report_usage("obj_move()")

View File

@@ -520,7 +520,8 @@ class ObjectCollection(QtCore.QAbstractItemModel):
self.app.ui.menuprojectgeneratecnc.setVisible(False)
if type(obj) != FlatCAMGeometry and type(obj) != FlatCAMExcellon:
self.app.ui.menuprojectedit.setVisible(False)
self.app.ui.menuprojectsavet.setVisible(False)
if type(obj) != FlatCAMGeometry and type(obj) != FlatCAMExcellon and type(obj) != FlatCAMCNCjob:
self.app.ui.menuprojectsave.setVisible(False)
else:
self.app.ui.menuprojectgeneratecnc.setVisible(False)

View File

@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
=================================================
16.02.2019
- added the 'Save' menu entry to the Project context menu, for CNCJob: it will export the GCode.
15.02.2019
- rearranged the File and Edit menu's and added some explanatory tooltips on certain menu items that could be seen as cryptic