53 for(
PAD*
pad : fp->Pads() )
58 int xs =
pad->GetDrillSize().x;
59 int ys =
pad->GetDrillSize().y;
61 if( xs <= 0 || ys <= 0 )
66 if(
pad->GetLayerSet().CuStack().empty() )
73 top =
pad->GetLayerSet().CuStack().front();
74 bottom =
pad->GetLayerSet().CuStack().back();
91 int dmm =
via->GetDrillValue();
void CollectDrillLineItems(BOARD *board, std::vector< DRILL_LINE_ITEM > &out)
Information pertinent to a Pcbnew printed circuit board.
const FOOTPRINTS & Footprints() const
const TRACKS & Tracks() const
PCB_LAYER_ID
A quick note on layer IDs:
@ NPTH
like PAD_PTH, but not plated mechanical use only, no connection allowed
@ PCB_VIA_T
class PCB_VIA, a via (like a track segment on a copper layer)