|
KiCad PCB EDA Suite
|
One machining action, which is also one NC hit and one tool assignment. More...
#include <drill_operation.h>
Public Member Functions | |
| DRILL_OPERATION_ID | Id () const |
| bool | IsBackdrill () const |
Public Attributes | |
| DRILL_OP_KIND | m_Kind = DRILL_OP_KIND::PRIMARY_DRILL |
| BOARD_ITEM * | m_SourceItem = nullptr |
| non-owning, valid only for this enumeration | |
| KIID | m_SourceId |
| VECTOR2I | m_Position |
| VECTOR2I | m_SizeXY |
| Source axes, never normalized to (width, length). | |
| EDA_ANGLE | m_Orientation = ANGLE_0 |
| int | m_Diameter = 0 |
| bool | m_IsSlot = false |
| PCB_LAYER_ID | m_TopLayer = F_Cu |
| PCB_LAYER_ID | m_BottomLayer = B_Cu |
| PCB_LAYER_ID | m_DrillStart = UNDEFINED_LAYER |
| PCB_LAYER_ID | m_DrillEnd = UNDEFINED_LAYER |
| bool | m_NotPlated = false |
| HOLE_ATTRIBUTE | m_Attribute = HOLE_ATTRIBUTE::HOLE_UNKNOWN |
| bool | m_Filled = false |
| bool | m_Capped = false |
| bool | m_TopCovered = false |
| bool | m_BottomCovered = false |
| bool | m_TopPlugged = false |
| bool | m_BottomPlugged = false |
| bool | m_TopTented = false |
| bool | m_BottomTented = false |
| DRILL_POST_MACHINING | m_FrontPostMachining |
| DRILL_POST_MACHINING | m_BackPostMachining |
| std::optional< int > | m_StubLength |
One machining action, which is also one NC hit and one tool assignment.
Post-machining rides on the operation that made the hole. A consumer that wants a countersink on a row of its own expands the front and back fields itself. Tool numbers belong to the writer, since each output file can group and order operations differently.
Definition at line 79 of file drill_operation.h.
|
inline |
Definition at line 118 of file drill_operation.h.
References m_Kind, and m_SourceId.
|
inline |
Definition at line 120 of file drill_operation.h.
References m_Kind, and PRIMARY_DRILL.
Referenced by FEATURES_MANAGER::AddPad(), PCB_IO_IPC2581::addPostMachiningSpecRefs(), GENDRILL_WRITER_BASE::buildHolesList(), GERBER_WRITER::createDrillFile(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), and EXCELLON_WRITER::writeHoleComments().
| HOLE_ATTRIBUTE DRILL_OPERATION::m_Attribute = HOLE_ATTRIBUTE::HOLE_UNKNOWN |
Definition at line 102 of file drill_operation.h.
Referenced by GENDRILL_WRITER_BASE::buildHolesList(), cmpHoleSorting(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), and DRILL_SYMBOL_PROFILE::GroupKeyString().
| DRILL_POST_MACHINING DRILL_OPERATION::m_BackPostMachining |
Definition at line 114 of file drill_operation.h.
Referenced by FEATURES_MANAGER::addPostMachiningAttributes(), PCB_IO_IPC2581::addPostMachiningSpecRefs(), GENDRILL_WRITER_BASE::buildHolesList(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), DRILL_SYMBOL_PROFILE::GroupKeyString(), and EXCELLON_WRITER::writeHoleComments().
| bool DRILL_OPERATION::m_BottomCovered = false |
Definition at line 107 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| PCB_LAYER_ID DRILL_OPERATION::m_BottomLayer = B_Cu |
Definition at line 97 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddDrillMatrixLayer(), and DRILL_SYMBOL_PROFILE::GroupKeyString().
| bool DRILL_OPERATION::m_BottomPlugged = false |
Definition at line 109 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| bool DRILL_OPERATION::m_BottomTented = false |
Definition at line 111 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| bool DRILL_OPERATION::m_Capped = false |
Definition at line 105 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| int DRILL_OPERATION::m_Diameter = 0 |
Definition at line 93 of file drill_operation.h.
Referenced by FEATURES_MANAGER::AddPad(), FEATURES_MANAGER::AddViaDrillHole(), GENDRILL_WRITER_BASE::buildHolesList(), cmpHoleSorting(), PCB_IO_IPC2581::generateLayerSetDrill(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ODB_LAYER_ENTITY::InitDrillData(), and GENDRILL_WRITER_BASE::plotDrillMarks().
| PCB_LAYER_ID DRILL_OPERATION::m_DrillEnd = UNDEFINED_LAYER |
Definition at line 99 of file drill_operation.h.
| PCB_LAYER_ID DRILL_OPERATION::m_DrillStart = UNDEFINED_LAYER |
Definition at line 98 of file drill_operation.h.
| bool DRILL_OPERATION::m_Filled = false |
Definition at line 104 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| DRILL_POST_MACHINING DRILL_OPERATION::m_FrontPostMachining |
Definition at line 113 of file drill_operation.h.
Referenced by FEATURES_MANAGER::addPostMachiningAttributes(), PCB_IO_IPC2581::addPostMachiningSpecRefs(), GENDRILL_WRITER_BASE::buildHolesList(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), DRILL_SYMBOL_PROFILE::GroupKeyString(), and EXCELLON_WRITER::writeHoleComments().
| bool DRILL_OPERATION::m_IsSlot = false |
Definition at line 94 of file drill_operation.h.
Referenced by FEATURES_MANAGER::AddPad(), GENDRILL_WRITER_BASE::BuildFileFunctionAttributeString(), GENDRILL_WRITER_BASE::buildHolesList(), EXCELLON_WRITER::createDrillFile(), GERBER_WRITER::createDrillFile(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), DRILL_SYMBOL_PROFILE::GroupKeyString(), and GENDRILL_WRITER_BASE::plotDrillMarks().
| DRILL_OP_KIND DRILL_OPERATION::m_Kind = DRILL_OP_KIND::PRIMARY_DRILL |
Definition at line 81 of file drill_operation.h.
Referenced by DRILL_SYMBOL_PROFILE::GroupKeyString(), Id(), and IsBackdrill().
| bool DRILL_OPERATION::m_NotPlated = false |
Definition at line 101 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddDrillMatrixLayer(), GENDRILL_WRITER_BASE::buildHolesList(), cmpHoleSorting(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), FAB_DRILL_MODEL::Find(), and DRILL_SYMBOL_PROFILE::GroupKeyString().
Definition at line 92 of file drill_operation.h.
Referenced by FEATURES_MANAGER::AddPad(), EXCELLON_WRITER::createDrillFile(), GERBER_WRITER::createDrillFile(), and GENDRILL_WRITER_BASE::plotDrillMarks().
| VECTOR2I DRILL_OPERATION::m_Position |
Definition at line 86 of file drill_operation.h.
Referenced by FEATURES_MANAGER::AddPad(), FEATURES_MANAGER::AddViaDrillHole(), cmpHoleSorting(), EXCELLON_WRITER::createDrillFile(), GERBER_WRITER::createDrillFile(), and GENDRILL_WRITER_BASE::plotDrillMarks().
| VECTOR2I DRILL_OPERATION::m_SizeXY |
Source axes, never normalized to (width, length).
The Excellon writer picks slot endpoints from whichever of X and Y is longer.
Definition at line 91 of file drill_operation.h.
Referenced by FEATURES_MANAGER::AddPad(), EXCELLON_WRITER::createDrillFile(), GERBER_WRITER::createDrillFile(), DRILL_SYMBOL_PROFILE::GroupKeyString(), and GENDRILL_WRITER_BASE::plotDrillMarks().
| KIID DRILL_OPERATION::m_SourceId |
Definition at line 84 of file drill_operation.h.
Referenced by Id().
| BOARD_ITEM* DRILL_OPERATION::m_SourceItem = nullptr |
non-owning, valid only for this enumeration
Definition at line 83 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddDrillMatrixLayer(), GERBER_WRITER::createDrillFile(), FAB_DRILL_MODEL::FAB_DRILL_MODEL(), and PCB_IO_IPC2581::generateDrillLayers().
| std::optional<int> DRILL_OPERATION::m_StubLength |
Definition at line 116 of file drill_operation.h.
Referenced by GENDRILL_WRITER_BASE::buildHolesList().
| bool DRILL_OPERATION::m_TopCovered = false |
Definition at line 106 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| PCB_LAYER_ID DRILL_OPERATION::m_TopLayer = F_Cu |
Definition at line 96 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), ODB_MATRIX_ENTITY::AddDrillMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), and DRILL_SYMBOL_PROFILE::GroupKeyString().
| bool DRILL_OPERATION::m_TopPlugged = false |
Definition at line 108 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().
| bool DRILL_OPERATION::m_TopTented = false |
Definition at line 110 of file drill_operation.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), PCB_IO_IPC2581::addPadStack(), PCB_IO_IPC2581::generateAuxilliaryLayers(), DRILL_SYMBOL_PROFILE::GroupKeyString(), ipcPadstackHash(), and ODB::IpcViaType().