- 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

@@ -388,7 +388,7 @@ class NonCopperClear(AppTool, Gerber):
self.bound_obj_name = ""
self.bound_obj = None
self.tool_type_item_options = ["C1", "C2", "C3", "C4", "B", "V"]
self.tool_type_item_options = ["C1", "C2", "C3", "C4", "B", "V", "L"]
self.units = self.app.app_units.upper()
self.first_click = False
@@ -4180,7 +4180,8 @@ class NccUI:
"Can be:\n"
"C1 ... C4 = circular tool with x flutes\n"
"B = ball tip milling tool\n"
"V = v-shape milling tool"))
"V = v-shape milling tool\n"
"L = laser"))
# Tool order
self.ncc_order_label = FCLabel('%s:' % _('Tool order'))