- small change in the UI layout for Check Rules Tool by adding a new rule (Check trace size)

This commit is contained in:
Marius Stanciu 2019-09-30 04:13:55 +03:00 committed by Marius
parent 3211fedca0
commit 35ca487122
2 changed files with 18 additions and 0 deletions

View File

@ -17,6 +17,7 @@ CAD program, and create G-Code for Isolation routing.
- finished the Minimum Distance Tool in case of using it at the object level (not in Editors)
- completed the Minimum Distance Tool by adding the usage in Editors
- made the Minimum Distance Tool more precise for the Excellon Editor since in the Excellon Editor the holes shape are represented as a cross line but in reality they should be evaluated as circles
- small change in the UI layout for Check Rules Tool by adding a new rule (Check trace size)
29.09.2019

View File

@ -253,6 +253,23 @@ class RulesCheck(FlatCAMTool):
self.form_layout_1.addRow(QtWidgets.QLabel(""))
# Trace size
self.trace_size_cb = FCCheckBox('%s:' % _("Trace Size"))
self.trace_size_cb.setToolTip(
_("This checks if the minimum size for traces is met.")
)
self.form_layout_1.addRow(self.trace_size_cb)
# Copper2copper clearance value
self.trace_size_entry = FCEntry()
self.trace_size_lbl = QtWidgets.QLabel('%s:' % _("Min value"))
self.trace_size_lbl.setToolTip(
_("Minimum acceptable clearance value.")
)
self.form_layout_1.addRow(self.trace_size_lbl, self.trace_size_entry)
self.ts = OptionalInputSection(self.trace_size_cb, [self.trace_size_lbl, self.trace_size_entry])
# Copper2copper clearance
self.clearance_copper2copper_cb = FCCheckBox('%s:' % _("Copper to copper clearance"))
self.clearance_copper2copper_cb.setToolTip(