- added a new preprocessor: default_laser

- in the app added a new tool type: "L" (laser) which when selected will autoselect the `default_laser` preprocessor in Milling Plugin
This commit is contained in:
Marius Stanciu
2022-02-10 14:01:32 +02:00
committed by Marius
parent 1edc2cd241
commit 3d4e195ae1
13 changed files with 173 additions and 22 deletions

View File

@@ -237,7 +237,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
offset_item = QtWidgets.QTableWidgetItem(''.join(offset_txt))
job_item_options = [_('Roughing'), _('Finishing'), _('Isolation'), _('Polishing')]
tool_shape_options = ["C1", "C2", "C3", "C4", "B", "V"]
tool_shape_options = ["C1", "C2", "C3", "C4", "B", "V", "L"]
try:
job_item_txt = job_item_options[dia_value['data']['tools_mill_job_type']]

View File

@@ -123,7 +123,7 @@ class GeometryObject(FlatCAMObj, Geometry):
self.offset_item_options = ["Path", "In", "Out", "Custom"]
self.job_item_options = [_('Roughing'), _('Finishing'), _('Isolation'), _('Polishing')]
self.tool_type_item_options = ["C1", "C2", "C3", "C4", "B", "V"]
self.tool_type_item_options = ["C1", "C2", "C3", "C4", "B", "V", "L"]
# flag to store if the V-Shape tool is selected in self.ui.geo_tools_table
self.v_tool_type = None