|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
| FAB_PAD_ROLE | GetFabPadRole (const PAD &aPad) |
| Explicit fabrication properties take precedence over the unnumbered NPTH fallback. | |
| FAB_PIN | MakeFabPin (const PAD &aPad, size_t aIndexInFootprint) |
| aIndexInFootprint is the pad's position in its footprint, used to name NPTH and unnumbered pads | |
| FAB_PAD_ROLE GetFabPadRole | ( | const PAD & | aPad | ) |
Explicit fabrication properties take precedence over the unnumbered NPTH fallback.
Definition at line 26 of file fab_pin.cpp.
References BGA, CASTELLATED, FIDUCIAL_GLBL, FIDUCIAL_GLOBAL, FIDUCIAL_LOCAL, PAD::GetAttribute(), PAD::GetNumber(), PAD::GetProperty(), HEATSINK, MECHANICAL, NONE, NPTH, PRESSFIT, TESTPOINT, and TOOLING_HOLE.
Referenced by FEATURES_MANAGER::AddPad(), BOOST_AUTO_TEST_CASE(), ODB_LAYER_ENTITY::InitDrillData(), ODB_NET_LIST::InitNetPoints(), and MakeFabPin().
aIndexInFootprint is the pad's position in its footprint, used to name NPTH and unnumbered pads
Definition at line 50 of file fab_pin.cpp.
References ELECTRICAL, PAD::GetAttribute(), GetFabPadRole(), PAD::GetNumber(), BOARD_ITEM::GetParentFootprint(), PAD::HasHole(), HOLE, PAD::IsOnCopperLayer(), MECHANICAL, NPTH, FOOTPRINT::Pads(), pin, PTH, SMD, SMT, and THT.
Referenced by PCB_IO_IPC2581::addPackage(), EDA_DATA::PACKAGE::AddPin(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_IPC2581::pinName().