- 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

@@ -103,7 +103,7 @@ class ToolPaint(AppTool, Gerber):
# store here the default data for Geometry Data
self.default_data = {}
self.tool_type_item_options = ["C1", "C2", "C3", "C4", "B", "V"]
self.tool_type_item_options = ["C1", "C2", "C3", "C4", "B", "V", "L"]
self.form_fields = {
"tools_paint_overlap": self.ui.paintoverlap_entry,
@@ -3056,7 +3056,8 @@ class PaintUI:
"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.order_label = FCLabel('<b>%s:</b>' % _('Tool order'))