- made the output of Panelization Tool a choice out of Gerber and Geometry type of objects. Useful for those who want to engrave multiple copies of the same design.

This commit is contained in:
Marius Stanciu
2019-02-18 23:47:59 +02:00
committed by Marius S
parent 7c2d8ff28e
commit 783604f2aa
4 changed files with 38 additions and 3 deletions

View File

@@ -3833,8 +3833,8 @@ class ExcellonExpPrefGroupUI(OptionsGroupUI):
# Plot options
self.export_options_label = QtWidgets.QLabel("<b>Export Options:</b>")
self.export_options_label.setToolTip(
"The parameters set here are used in the file exported<cr>"
"when using the <b>File -> Export -> Export Excellon</b> menu entry."
"The parameters set here are used in the file exported\n"
"when using the File -> Export -> Export Excellon menu entry."
)
self.layout.addWidget(self.export_options_label)
@@ -4879,6 +4879,19 @@ class ToolsPanelizePrefGroupUI(OptionsGroupUI):
grid0.addWidget(self.y_height_lbl, 6, 0)
grid0.addWidget(self.py_height_entry, 6, 1)
## Type of resulting Panel object
self.panel_type_radio = RadioSet([{'label': 'Gerber', 'value': 'gerber'},
{'label': 'Geometry', 'value': 'geometry'}])
self.panel_type_label = QtWidgets.QLabel("Panel Type:")
self.panel_type_label.setToolTip(
"Choose the type of object for the panel object:\n"
"- Geometry\n"
"- Gerber"
)
grid0.addWidget(self.panel_type_label, 7, 0)
grid0.addWidget(self.panel_type_radio, 7, 1)
self.layout.addStretch()