|
KiCad PCB EDA Suite
|
Board design rules. More...
#include <pads_parser.h>
Public Member Functions | |
| void | MarkSpecified (DESIGN_RULE_FIELD aField) |
| bool | IsSpecified (DESIGN_RULE_FIELD aField) const |
Public Attributes | |
| double | min_clearance = 8.0 |
| MINCLEAR. | |
| double | default_clearance = 10.0 |
| DEFAULTCLEAR. | |
| double | min_track_width = 6.0 |
| MINTRACKWID. | |
| double | default_track_width = 10.0 |
| DEFAULTTRACKWID. | |
| double | min_via_size = 20.0 |
| MINVIASIZE. | |
| double | default_via_size = 40.0 |
| DEFAULTVIASIZE. | |
| double | min_via_drill = 10.0 |
| MINVIADRILL. | |
| double | default_via_drill = 20.0 |
| DEFAULTVIADRILL. | |
| double | hole_to_hole = 10.0 |
| HOLEHOLE. | |
| double | silk_clearance = 5.0 |
| SILKCLEAR. | |
| double | mask_clearance = 3.0 |
| MASKCLEAR. | |
| double | copper_edge_clearance = 10.0 |
| OUTLINE_TO_*. | |
| unsigned | specified = 0 |
Board design rules.
The initial values are in mils and only meaningful for MILS files, so consumers must apply a value only when IsSpecified() reports that the file declared it.
Definition at line 150 of file pads_parser.h.
|
inline |
Definition at line 169 of file pads_parser.h.
References specified.
Referenced by PCB_IO_PADS::loadBoardSetup().
|
inline |
Definition at line 167 of file pads_parser.h.
References specified.
| double PADS_IO::DESIGN_RULES::copper_edge_clearance = 10.0 |
OUTLINE_TO_*.
Definition at line 163 of file pads_parser.h.
Referenced by PADS_IO::PARSER::clampDesignRuleSentinels(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::default_clearance = 10.0 |
DEFAULTCLEAR.
Definition at line 153 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PADS_IO::PARSER::clampDesignRuleSentinels(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::default_track_width = 10.0 |
DEFAULTTRACKWID.
Definition at line 155 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::default_via_drill = 20.0 |
DEFAULTVIADRILL.
Definition at line 159 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::default_via_size = 40.0 |
DEFAULTVIASIZE.
Definition at line 157 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::hole_to_hole = 10.0 |
HOLEHOLE.
Definition at line 160 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::mask_clearance = 3.0 |
MASKCLEAR.
Definition at line 162 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::min_clearance = 8.0 |
MINCLEAR.
Definition at line 152 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::min_track_width = 6.0 |
MINTRACKWID.
Definition at line 154 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::min_via_drill = 10.0 |
MINVIADRILL.
Definition at line 158 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::min_via_size = 20.0 |
MINVIASIZE.
Definition at line 156 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| double PADS_IO::DESIGN_RULES::silk_clearance = 5.0 |
SILKCLEAR.
Definition at line 161 of file pads_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoardSetup().
| unsigned PADS_IO::DESIGN_RULES::specified = 0 |
Definition at line 165 of file pads_parser.h.
Referenced by IsSpecified(), and MarkSpecified().