|
KiCad PCB EDA Suite
|
#include <diptrace_pcb_parser.h>
Public Attributes | |
| wxString | libraryPath |
| int | positionX = 0 |
| DipTrace units. | |
| int | positionY = 0 |
| DipTrace units. | |
| int | placementQuarterTurns = 0 |
| Board-placement angle snapped to 90-degree turns (metadata Id-6 int3) | |
| bool | hasPlacementQuarterTurns = false |
| double | placementAngleDeg = 0.0 |
| Exact board-placement angle in degrees (placement section), when available. | |
| bool | hasPlacementAngle = false |
| int | rotation = 0 |
| Raw header int4; matches Pattern.Float1 in DipXML (not placement angle) | |
| int | fieldC = 0 |
| Raw header int4; matches Pattern.Float2 in DipXML. | |
| int | fieldD = 0 |
| Raw header int4; matches Pattern.Float3 in DipXML. | |
| wxString | patternName |
| wxString | displayName |
| wxString | refdes |
| wxString | value |
| int | layer = 0 |
| 0 = top, 1 = bottom | |
| int | bboxWidth = 0 |
| Footprint X extent in DipTrace units (for shape scaling) | |
| int | bboxHeight = 0 |
| Footprint Y extent in DipTrace units (for shape scaling) | |
| int | padWidthHint = 0 |
| Raw bbox companion field (pad width in DipTrace units) | |
| int | padHeightHint = 0 |
| Raw bbox companion field (pad height in DipTrace units) | |
| int | drillWidthHint = 0 |
| Raw bbox companion field (drill width in DipTrace units) | |
| int | drillHeightHint = 0 |
| Raw bbox companion field (drill height in DipTrace units) | |
| int | fieldA = 0 |
| Raw header int3 field A. | |
| int | fieldF = 0 |
| Raw header int3 field F (component kind discriminator) | |
| bool | isStandaloneVia = false |
| True for explicit standalone via components. | |
| std::vector< uint8_t > | flags |
| std::vector< DT_PAD > | pads |
| std::vector< DT_MOUNT_HOLE > | holes |
| std::vector< DT_FP_SHAPE > | shapes |
| Graphics in normalized coordinates. | |
| size_t | boundaryOffset = 0 |
| Boundary marker offset for this component record. | |
| size_t | stringStartOffset = 0 |
| Parsed start offset of library-path string. | |
| size_t | regionEndOffset = 0 |
| Component region end offset (next boundary / upper bound) | |
| size_t | headerEndOffset = 0 |
| Byte offset after parsed component header strings. | |
| size_t | padRegionEnd = 0 |
| Byte offset after last pad record (for shape finding) | |
| int | refdesYOffset = 0 |
| Refdes text Y offset from component origin (DipTrace units) | |
| int | valueYOffset = 0 |
| Value text Y offset from component origin (DipTrace units) | |
| bool | refdesVisible = true |
| False when text visibility flag is -1. | |
| bool | valueVisible = true |
| (Currently same flag as refdesVisible) | |
| bool | hasTailData = false |
| True if the 37-byte tail was successfully parsed. | |
Definition at line 151 of file diptrace_pcb_parser.h.
| int DIPTRACE::DT_COMPONENT::bboxHeight = 0 |
Footprint Y extent in DipTrace units (for shape scaling)
Definition at line 169 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), DIPTRACE::PCB_PARSER::FindShapesInRegion(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::bboxWidth = 0 |
Footprint X extent in DipTrace units (for shape scaling)
Definition at line 168 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), DIPTRACE::PCB_PARSER::FindShapesInRegion(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| size_t DIPTRACE::DT_COMPONENT::boundaryOffset = 0 |
Boundary marker offset for this component record.
Definition at line 181 of file diptrace_pcb_parser.h.
Referenced by DumpComponentBinaryScan(), and DumpComponentHeader().
| wxString DIPTRACE::DT_COMPONENT::displayName |
Definition at line 164 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ClassifyStandaloneVia(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::drillHeightHint = 0 |
Raw bbox companion field (drill height in DipTrace units)
Definition at line 173 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::drillWidthHint = 0 |
Raw bbox companion field (drill width in DipTrace units)
Definition at line 172 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::fieldA = 0 |
Raw header int3 field A.
Definition at line 174 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::fieldC = 0 |
Raw header int4; matches Pattern.Float2 in DipXML.
Definition at line 161 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::fieldD = 0 |
Raw header int4; matches Pattern.Float3 in DipXML.
Definition at line 162 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::fieldF = 0 |
Raw header int3 field F (component kind discriminator)
Definition at line 175 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| std::vector<uint8_t> DIPTRACE::DT_COMPONENT::flags |
Definition at line 177 of file diptrace_pcb_parser.h.
Referenced by DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| bool DIPTRACE::DT_COMPONENT::hasPlacementAngle = false |
Definition at line 159 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint().
| bool DIPTRACE::DT_COMPONENT::hasPlacementQuarterTurns = false |
Definition at line 157 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| bool DIPTRACE::DT_COMPONENT::hasTailData = false |
True if the 37-byte tail was successfully parsed.
Definition at line 192 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::ParseComponentTail().
| size_t DIPTRACE::DT_COMPONENT::headerEndOffset = 0 |
Byte offset after parsed component header strings.
Definition at line 184 of file diptrace_pcb_parser.h.
Referenced by DumpComponentBinaryScan(), DumpComponentHeader(), DIPTRACE::PCB_PARSER::FindPadsInRegion(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| std::vector<DT_MOUNT_HOLE> DIPTRACE::DT_COMPONENT::holes |
Definition at line 179 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::FindMountHolesInRegion().
| bool DIPTRACE::DT_COMPONENT::isStandaloneVia = false |
True for explicit standalone via components.
Definition at line 176 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::layer = 0 |
0 = top, 1 = bottom
Definition at line 167 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), DIPTRACE::PCB_PARSER::FindShapesInChainedBlocks(), DIPTRACE::PCB_PARSER::ParseComponentTail(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| wxString DIPTRACE::DT_COMPONENT::libraryPath |
Definition at line 153 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ClassifyStandaloneVia(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::padHeightHint = 0 |
Raw bbox companion field (pad height in DipTrace units)
Definition at line 171 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| size_t DIPTRACE::DT_COMPONENT::padRegionEnd = 0 |
Byte offset after last pad record (for shape finding)
Definition at line 185 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::FindMountHolesInRegion(), DIPTRACE::PCB_PARSER::FindPadsInRegion(), DIPTRACE::PCB_PARSER::FindShapesInChainedBlocks(), DIPTRACE::PCB_PARSER::FindShapesInFontBlocks(), and DIPTRACE::PCB_PARSER::FindShapesInRegion().
| std::vector<DT_PAD> DIPTRACE::DT_COMPONENT::pads |
| int DIPTRACE::DT_COMPONENT::padWidthHint = 0 |
Raw bbox companion field (pad width in DipTrace units)
Definition at line 170 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ParseSingleComponent().
| wxString DIPTRACE::DT_COMPONENT::patternName |
Definition at line 163 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::ClassifyStandaloneVia(), DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentBinaryScan(), DumpComponentHeader(), DIPTRACE::PCB_PARSER::FindPadsInRegion(), DIPTRACE::PCB_PARSER::FindShapesInRegion(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| double DIPTRACE::DT_COMPONENT::placementAngleDeg = 0.0 |
Exact board-placement angle in degrees (placement section), when available.
Definition at line 158 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint().
| int DIPTRACE::DT_COMPONENT::placementQuarterTurns = 0 |
Board-placement angle snapped to 90-degree turns (metadata Id-6 int3)
Definition at line 156 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::positionX = 0 |
DipTrace units.
Definition at line 154 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| int DIPTRACE::DT_COMPONENT::positionY = 0 |
DipTrace units.
Definition at line 155 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| wxString DIPTRACE::DT_COMPONENT::refdes |
Definition at line 165 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentBinaryScan(), DumpComponentHeader(), DumpComponentRawFields(), DumpComponentTail(), DumpPadGap(), DumpPadPostBlock(), DIPTRACE::PCB_PARSER::FindMountHolesInRegion(), DIPTRACE::PCB_PARSER::ParseComponentTail(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| bool DIPTRACE::DT_COMPONENT::refdesVisible = true |
False when text visibility flag is -1.
Definition at line 190 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::ParseComponentTail().
| int DIPTRACE::DT_COMPONENT::refdesYOffset = 0 |
Refdes text Y offset from component origin (DipTrace units)
Definition at line 188 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::ParseComponentTail().
| size_t DIPTRACE::DT_COMPONENT::regionEndOffset = 0 |
Component region end offset (next boundary / upper bound)
Definition at line 183 of file diptrace_pcb_parser.h.
Referenced by DumpComponentBinaryScan(), and DumpComponentHeader().
| int DIPTRACE::DT_COMPONENT::rotation = 0 |
Raw header int4; matches Pattern.Float1 in DipXML (not placement angle)
Definition at line 160 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| std::vector<DT_FP_SHAPE> DIPTRACE::DT_COMPONENT::shapes |
Graphics in normalized coordinates.
Definition at line 180 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DIPTRACE::PCB_PARSER::FindShapesInChainedBlocks(), DIPTRACE::PCB_PARSER::FindShapesInFontBlocks(), and DIPTRACE::PCB_PARSER::FindShapesInRegion().
| size_t DIPTRACE::DT_COMPONENT::stringStartOffset = 0 |
Parsed start offset of library-path string.
Definition at line 182 of file diptrace_pcb_parser.h.
Referenced by DumpComponentBinaryScan(), and DumpComponentHeader().
| wxString DIPTRACE::DT_COMPONENT::value |
Definition at line 166 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), DumpComponentHeader(), and DIPTRACE::PCB_PARSER::ParseSingleComponent().
| bool DIPTRACE::DT_COMPONENT::valueVisible = true |
(Currently same flag as refdesVisible)
Definition at line 191 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::ParseComponentTail().
| int DIPTRACE::DT_COMPONENT::valueYOffset = 0 |
Value text Y offset from component origin (DipTrace units)
Definition at line 189 of file diptrace_pcb_parser.h.
Referenced by DIPTRACE::PCB_PARSER::CreateFootprint(), and DIPTRACE::PCB_PARSER::ParseComponentTail().