KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drill_chart_model.h File Reference
#include <string>
#include <vector>
#include <drill/drill_operation.h>
#include <drill/drill_chart_template.h>
#include <drill/drill_symbol_profile.h>

Go to the source code of this file.

Classes

struct  DRILL_CHART_GROUP
 One chart row. More...
 
struct  DRILL_CHART_TOTALS
 
struct  DRILL_CHART_ROW_SPEC
 Turns the board's drill operations into chart rows for one symbol profile. More...
 
class  DRILL_CHART_MODEL
 

Functions

std::vector< DRILL_SPANEnumerateDrillSpans (const BOARD &aBoard)
 Every drill span present on the board, through-holes first.
 

Function Documentation

◆ EnumerateDrillSpans()

std::vector< DRILL_SPAN > EnumerateDrillSpans ( const BOARD & aBoard)

Every drill span present on the board, through-holes first.

Shared with the drill writers so a per-span chart and a per-span drill file cannot disagree about which spans exist.

Definition at line 176 of file drill_chart_model.cpp.

References B_Cu, F_Cu, PCB_VIA_T, top(), BOARD::Tracks(), UNDEFINED_LAYER, and via.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_DRILL_CHART::buildGroups(), BOARD::DrillSymbolCache(), PCB_DRILL_MAP::GetSpanChoice(), BRDITEMS_PLOTTER::PlotDrillSymbols(), DIALOG_DRILL_GROUPS::Reload(), ResolveDrillSymbols(), ResolveDrillSymbolsByItem(), PCB_DRILL_MAP::SetSpanChoice(), and PCB_PROPERTIES_PANEL::updateLists().