- updated the function for the project context menu 'Generate CNC' menu entry (Action) to use the modernized function FlatCAMObj.FlatCAMGeometry.on_generatecnc_button_click()

This commit is contained in:
Marius Stanciu
2019-02-14 21:33:42 +02:00
committed by Marius S
parent b84f56545e
commit cda10998e8
3 changed files with 28 additions and 7 deletions

View File

@@ -6672,8 +6672,10 @@ The normal flow when working in FlatCAM is the following:</span></p>
def generate_cnc_job(self, objects):
self.report_usage("generate_cnc_job()")
# for obj in objects:
# obj.generatecncjob()
for obj in objects:
obj.generatecncjob()
obj.on_generatecnc_button_click()
def save_project(self, filename):
"""