Added postprocessing GUI and Code
This commit is contained in:
@@ -1074,7 +1074,7 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
|
|||||||
|
|
||||||
preamble = str(self.ui.prepend_text.get_value())
|
preamble = str(self.ui.prepend_text.get_value())
|
||||||
postamble = str(self.ui.append_text.get_value())
|
postamble = str(self.ui.append_text.get_value())
|
||||||
processor = str(self.ui.process_script.get_value())
|
processor = str(self.ui.process_script.get_value())
|
||||||
|
|
||||||
self.export_gcode(filename, preamble=preamble, postamble=postamble, processor=processor)
|
self.export_gcode(filename, preamble=preamble, postamble=postamble, processor=processor)
|
||||||
|
|
||||||
|
|||||||
@@ -203,8 +203,8 @@ class CNCObjectUI(ObjectUI):
|
|||||||
"is generated."
|
"is generated."
|
||||||
)
|
)
|
||||||
self.custom_box.addWidget(processorlabel)
|
self.custom_box.addWidget(processorlabel)
|
||||||
self.processing_script = FCTextArea()
|
self.process_script = FCTextArea()
|
||||||
self.custom_box.addWidget(self.processing_script)
|
self.custom_box.addWidget(self.process_script)
|
||||||
|
|
||||||
|
|
||||||
# Dwell
|
# Dwell
|
||||||
|
|||||||
Reference in New Issue
Block a user