- in 2Sided Plugin advanced mode fixed the bounds calculation: if no object is selected on canvas then the object selected in Source Object is used
- in 2Sided Plugin added a new typ of alignment drills: manual. This mode will no longer add pairs of drill holes mirrored against reference but only add in place drill holes
This commit is contained in:
@@ -53,15 +53,24 @@ class Tools2sidedPrefGroupUI(OptionsGroupUI):
|
||||
param_grid.addWidget(self.drill_dia_entry, 0, 1)
|
||||
|
||||
# ## Alignment Axis
|
||||
self.align_ax_label = FCLabel('%s:' % _("Align Axis"))
|
||||
self.align_ax_label.setToolTip(
|
||||
_("Mirror vertically (X) or horizontally (Y).")
|
||||
self.align_type_label = FCLabel('%s:' % _("Align Axis"))
|
||||
self.align_type_label.setToolTip(
|
||||
_("The content of the Excellon file.\n"
|
||||
"X - Pairs of drill holes mirrored vertically from reference point\n"
|
||||
"Y - Pairs of drill holes mirrored horizontally from reference point\n"
|
||||
"Manual - no mirroring; drill holes in place")
|
||||
)
|
||||
self.align_type_radio = RadioSet(
|
||||
[
|
||||
{'label': 'X', 'value': 'X'},
|
||||
{'label': 'Y', 'value': 'Y'},
|
||||
{'label': _("Manual"), 'value': 'manual'}
|
||||
],
|
||||
compact=True
|
||||
)
|
||||
self.align_axis_radio = RadioSet([{'label': 'X', 'value': 'X'},
|
||||
{'label': 'Y', 'value': 'Y'}], compact=True)
|
||||
|
||||
param_grid.addWidget(self.align_ax_label, 1, 0)
|
||||
param_grid.addWidget(self.align_axis_radio, 1, 1)
|
||||
param_grid.addWidget(self.align_type_label, 1, 0)
|
||||
param_grid.addWidget(self.align_type_radio, 1, 1)
|
||||
|
||||
# ## Axis
|
||||
self.mirror_axis_radio = RadioSet([{'label': 'X', 'value': 'X'},
|
||||
|
||||
Reference in New Issue
Block a user