KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRILL_QUERY Struct Reference

Selects which operations EnumerateDrillOperations() returns. More...

#include <drill_operation.h>

Public Attributes

DRILL_SPAN m_Span
 
bool m_NonPlatedOnly = false
 Emit only non-plated holes.
 
bool m_MergePTHNPTH = false
 Emit plated and non-plated together, as the merged drill file does.
 

Detailed Description

Selects which operations EnumerateDrillOperations() returns.

The defaults mirror what the drill writers ask for, so a query built with only a span set reproduces the writer's own hole list.

Definition at line 130 of file drill_operation.h.

Member Data Documentation

◆ m_MergePTHNPTH

bool DRILL_QUERY::m_MergePTHNPTH = false

Emit plated and non-plated together, as the merged drill file does.

Definition at line 143 of file drill_operation.h.

Referenced by GENDRILL_WRITER_BASE::buildHolesList(), BRDITEMS_PLOTTER::PlotDrillSymbols(), and ResolveDrillSymbolsByItem().

◆ m_NonPlatedOnly

bool DRILL_QUERY::m_NonPlatedOnly = false

Emit only non-plated holes.

Vias are suppressed outright. For pads the flag is ignored when m_MergePTHNPTH is set.

Definition at line 138 of file drill_operation.h.

Referenced by DRILL_CHART_MODEL::Build(), GENDRILL_WRITER_BASE::buildHolesList(), and EnumerateDrillOperations().

◆ m_Span


The documentation for this struct was generated from the following file: