- fixed issue #281 by making generation of a convex shape for the freeform cutout in Tool Cutout a choice rather than the default

- fixed bug in Tool Cutout, now in manual cutout mode the gap size reflect the value set
This commit is contained in:
Marius Stanciu
2019-03-31 21:52:27 +03:00
parent 79e5cce6f1
commit ecd6472220
4 changed files with 43 additions and 7 deletions

View File

@@ -4946,6 +4946,15 @@ class ToolsCutoutPrefGroupUI(OptionsGroupUI):
self.gaps_combo.addItem(it)
self.gaps_combo.setStyleSheet('background-color: rgb(255,255,255)')
# Surrounding convex box shape
self.convex_box = FCCheckBox()
self.convex_box_label = QtWidgets.QLabel(_("Convex Sh.:"))
self.convex_box_label.setToolTip(
_("Create a convex shape surrounding the entire PCB.")
)
grid0.addWidget(self.convex_box_label, 4, 0)
grid0.addWidget(self.convex_box, 4, 1)
self.layout.addStretch()