|
KiCad PCB EDA Suite
|
#include <altium_pcb.h>
Classes | |
| struct | PENDING_COMPONENT_COPPER |
Public Member Functions | |
| ALTIUM_PCB (BOARD *aBoard, PROGRESS_REPORTER *aProgressReporter, LAYER_MAPPING_HANDLER &aLayerMappingHandler, REPORTER *aReporter=nullptr, const wxString &aLibrary=wxEmptyString, const wxString &aFootprintName=wxEmptyString) | |
| ~ALTIUM_PCB () | |
| void | Parse (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const std::map< ALTIUM_PCB_DIR, std::string > &aFileMapping, const std::map< std::string, UTF8 > *aProperties=nullptr) |
| std::unique_ptr< FOOTPRINT > | ParseFootprint (ALTIUM_PCB_COMPOUND_FILE &altiumLibFile, const wxString &aFootprintName) |
| const std::set< wxString > & | GetSpecialStrings () const |
| Special strings in the parsed text that KiCad has no variable for. | |
Private Member Functions | |
| void | checkpoint () |
| PCB_LAYER_ID | GetKicadLayer (ALTIUM_LAYER aAltiumLayer) const |
| std::vector< PCB_LAYER_ID > | GetKicadLayersToIterate (ALTIUM_LAYER aAltiumLayer) const |
| int | GetNetCode (uint16_t aId) const |
| const ARULE6 * | GetRule (ALTIUM_RULE_KIND aKind, const wxString &aName) const |
| const ARULE6 * | GetRuleDefault (ALTIUM_RULE_KIND aKind) const |
| const ARULE6 * | GetRuleForPolygon (ALTIUM_RULE_KIND aKind) const |
| void | ParseFileHeader (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseBoard6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseClasses6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseComponents6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseDimensions6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseModelsData (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry, const std::vector< std::string > &aRootDir) |
| void | ParseNets6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParsePolygons6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseRules6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseArcs6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertArcs6ToPcbShape (const AARC6 &aElem, PCB_SHAPE *aShape) |
| void | ConvertArcs6ToBoardItem (const AARC6 &aElem, const int aPrimitiveIndex) |
| void | ConvertArcs6ToFootprintItem (FOOTPRINT *aFootprint, const AARC6 &aElem, const int aPrimitiveIndex, const bool aIsBoardImport) |
| void | ConvertArcs6ToBoardItemOnLayer (const AARC6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertArcs6ToFootprintItemOnLayer (FOOTPRINT *aFootprint, const AARC6 &aElem, PCB_LAYER_ID aLayer) |
| void | ParseComponentsBodies6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertComponentBody6ToFootprintItem (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, FOOTPRINT *aFootprint, const ACOMPONENTBODY6 &aElem) |
| void | ParsePads6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertPads6ToBoardItem (const APAD6 &aElem) |
| void | ConvertPads6ToFootprintItem (FOOTPRINT *aFootprint, const APAD6 &aElem) |
| void | ConvertPads6ToBoardItemOnNonCopper (const APAD6 &aElem) |
| void | ConvertPads6ToFootprintItemOnCopper (FOOTPRINT *aFootprint, const APAD6 &aElem) |
| void | ConvertPads6ToFootprintItemOnNonCopper (FOOTPRINT *aFootprint, const APAD6 &aElem) |
| void | ParseVias6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertVias6ToBoardItem (const AVIA6 &aElem) |
| PAD * | ConvertVias6ToFootprintItem (FOOTPRINT *aFootprint, const AVIA6 &aElem) |
| void | ParseTracks6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertTracks6ToBoardItem (const ATRACK6 &aElem, const int aPrimitiveIndex) |
| void | ConvertTracks6ToFootprintItem (FOOTPRINT *aFootprint, const ATRACK6 &aElem, const int aPrimitiveIndex, const bool aIsBoardImport) |
| void | ConvertTracks6ToBoardItemOnLayer (const ATRACK6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertTracks6ToFootprintItemOnLayer (FOOTPRINT *aFootprint, const ATRACK6 &aElem, PCB_LAYER_ID aLayer) |
| void | ParseSmartUnions6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseUnionNamesData (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | HelperCreateTuningPatterns () |
| void | HelperSetFootprintMountingStyles () |
| void | HelperSetFootprintStackups () |
| void | HelperDeferComponentCopper (FOOTPRINT *aFootprint, PCB_LAYER_ID aLayer, uint16_t aNet, std::unique_ptr< PCB_SHAPE > aShape, std::function< void()> aFallback) |
| Hold copper a footprint draws until its pads exist. | |
| bool | HelperFoldPendingCopper (const LSET &aCopper, int aMaxError, std::set< PAD * > &aExtensionPads) |
| Join each deferred copper shape on aCopper to the same-net numbered pad it touches. | |
| void | HelperPlaceUnfoldedCopper () |
| Run the fallback of every deferred copper shape no pad took. | |
| void | HelperFoldComponentCopperIntoPads () |
| Join deferred component copper and vias to the same-net pads they touch. | |
| void | HelperAssignNetclassesToNets () |
| Rebuild the composite netclasses and point every net at its effective netclass. | |
| void | MapSchematicNetNames (const std::map< std::string, UTF8 > &aProperties) |
| wxString | SchematicCasedNetName (const wxString &aNetName) const |
| void | ParseTexts6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertTexts6ToBoardItem (const ATEXT6 &aElem) |
| void | ConvertTexts6ToFootprintItem (FOOTPRINT *aFootprint, const ATEXT6 &aElem) |
| void | ConvertTexts6ToBoardItemOnLayer (const ATEXT6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertTexts6ToFootprintItemOnLayer (FOOTPRINT *aFootprint, const ATEXT6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertBarcodes6ToBoardItemOnLayer (const ATEXT6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertBarcodes6ToFootprintItemOnLayer (FOOTPRINT *aFootprint, const ATEXT6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertTexts6ToEdaTextSettings (const ATEXT6 &aElem, EDA_TEXT &aEdaText) |
| void | ParseFills6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertFills6ToBoardItem (const AFILL6 &aElem) |
| void | ConvertFills6ToFootprintItem (FOOTPRINT *aFootprint, const AFILL6 &aElem, const bool aIsBoardImport) |
| void | ConvertFills6ToPcbShape (const AFILL6 &aElem, PCB_SHAPE *aShape) |
| void | ConvertFills6ToBoardItemOnLayer (const AFILL6 &aElem, PCB_LAYER_ID aLayer) |
| void | ConvertFills6ToFootprintItemOnLayer (FOOTPRINT *aFootprint, const AFILL6 &aElem, PCB_LAYER_ID aLayer) |
| void | ParseBoardRegionsData (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseShapeBasedRegions6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ConvertShapeBasedRegions6ToBoardItem (const AREGION6 &aElem, const int aPrimitiveIndex) |
| void | ConvertShapeBasedRegions6ToFootprintItem (FOOTPRINT *aFootprint, const AREGION6 &aElem, const int aPrimitiveIndex) |
| void | ConvertShapeBasedRegions6ToFootprintCopper (FOOTPRINT *aFootprint, const AREGION6 &aElem, const int aPrimitiveIndex, uint16_t aNet) |
| Plain copper region of a footprint; inner layers wait to join the pad they touch. | |
| void | ConvertShapeBasedRegions6ToBoardItemOnLayer (const AREGION6 &aElem, PCB_LAYER_ID aLayer, const int aPrimitiveIndex) |
| void | ConvertShapeBasedRegions6ToFootprintItemOnLayer (FOOTPRINT *aFootprint, const AREGION6 &aElem, PCB_LAYER_ID aLayer, const int aPrimitiveIndex) |
| void | ParseExtendedPrimitiveInformationData (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseRegions6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | ParseWideStrings6Data (const ALTIUM_PCB_COMPOUND_FILE &aAltiumPcbFile, const CFB::COMPOUND_FILE_ENTRY *aEntry) |
| void | HelperParseDimensions6Linear (const ADIMENSION6 &aElem) |
| void | HelperParseDimensions6Radial (const ADIMENSION6 &aElem) |
| void | HelperParseDimensions6Leader (const ADIMENSION6 &aElem) |
| void | HelperParseDimensions6Datum (const ADIMENSION6 &aElem) |
| void | HelperParseDimensions6Center (const ADIMENSION6 &aElem) |
| void | HelperParsePad6NonCopper (const APAD6 &aElem, PCB_LAYER_ID aLayer, PCB_SHAPE *aShape) |
| void | HelperFillMechanicalLayerAssignments (const std::vector< ABOARD6_LAYER_STACKUP > &aStackup) |
| void | HelperCreateBoardOutline (const std::vector< ALTIUM_VERTICE > &aVertices) |
| void | HelperCreateBoardOutline (const SHAPE_LINE_CHAIN &aOutline) |
| void | HelperFinishBoardOutline () |
| void | HelperSetZoneLayers (ZONE &aZone, const ALTIUM_LAYER aAltiumLayer) |
| void | HelperSetZoneKeepoutRestrictions (ZONE &aZone, const uint8_t aKeepoutRestrictions) |
| uint8_t | HelperGetKeepoutRestrictions (const uint8_t aKeepoutRestrictions, const ALTIUM_LAYER aAltiumLayer) |
| Resolve an Altium keepout restriction mask, substituting the restrictions implied by the layer when the mask is empty. | |
| void | HelperFootprintZoneToLibFrame (ZONE &aZone, const FOOTPRINT &aFootprint) |
| void | HelperPcpShapeAsBoardKeepoutRegion (const PCB_SHAPE &aShape, const ALTIUM_LAYER aAltiumLayer, const uint8_t aKeepoutRestrictions) |
| void | HelperPcpShapeAsFootprintKeepoutRegion (FOOTPRINT *aFootprint, const PCB_SHAPE &aShape, const ALTIUM_LAYER aAltiumLayer, const uint8_t aKeepoutRestrictions) |
| void | HelperSetTextboxAlignmentAndPos (const ATEXT6 &aElem, PCB_TEXTBOX *aPcbTextbox) |
| void | HelperSetTextAlignmentAndPos (const ATEXT6 &aElem, EDA_TEXT *aEdaText) |
| std::vector< std::pair< PCB_LAYER_ID, int > > | HelperGetSolderAndPasteMaskExpansions (const ALTIUM_RECORD aType, const int aPrimitiveIndex, const ALTIUM_LAYER aAltiumLayer) |
| FOOTPRINT * | HelperGetFootprint (uint16_t aComponent) const |
| void | HelperBuildPadstackLayerIndex () |
| int | HelperGetPadstackLayerIndex (PCB_LAYER_ID aLayer) const |
Return the slot aLayer occupies in an Altium padstack's per-layer arrays. | |
| std::shared_ptr< EMBEDDED_FILES::EMBEDDED_FILE > | HelperEmbedModel (FOOTPRINT *aFootprint, const wxString &aModelName, const std::vector< char > &aCompressedData, bool &aIsNew) |
Return the 3D model aModelName embedded in aFootprint, inflating and embedding aCompressedData first if it is not there yet. | |
| void | remapUnsureLayers (std::vector< ABOARD6_LAYER_STACKUP > &aStackup) |
Private Attributes | |
| BOARD * | m_board |
| std::vector< FOOTPRINT * > | m_components |
| std::vector< ZONE * > | m_polygons |
| std::vector< PCB_DIM_RADIAL * > | m_radialDimensions |
| SHAPE_LINE_CHAIN | m_boardOutline |
| std::vector< SHAPE_LINE_CHAIN > | m_boardCutouts |
| int | m_outlineJogCount = 0 |
| int | m_outlineJogLargest = 0 |
| std::map< uint32_t, wxString > | m_unicodeStrings |
| std::vector< int > | m_altiumToKicadNetcodes |
| std::map< wxString, wxString > | m_schematicNetNames |
| std::map< ALTIUM_LAYER, PCB_LAYER_ID > | m_layermap |
| std::map< ALTIUM_LAYER, wxString > | m_layerNames |
| std::map< PCB_LAYER_ID, int > | m_padstackLayerIndex |
| std::map< wxString, ALTIUM_EMBEDDED_MODEL_DATA > | m_EmbeddedModels |
| std::map< ALTIUM_RULE_KIND, std::vector< ARULE6 > > | m_rules |
| std::map< ALTIUM_RECORD, std::multimap< int, const AEXTENDED_PRIMITIVE_INFORMATION > > | m_extendedPrimitiveInformationMaps |
| std::vector< ASMARTUNION6 > | m_tuningUnions |
| std::map< uint32_t, wxString > | m_unionNames |
| std::map< int, std::vector< BOARD_ITEM * > > | m_unionToBoardItems |
| std::vector< PENDING_COMPONENT_COPPER > | m_pendingComponentCopper |
| std::vector< std::pair< FOOTPRINT *, AVIA6 > > | m_pendingComponentVias |
| std::map< ALTIUM_LAYER, ZONE * > | m_outer_plane |
| LAYER_MAPPING_HANDLER | m_layerMappingHandler |
| PROGRESS_REPORTER * | m_progressReporter |
| optional; may be nullptr | |
| REPORTER * | m_reporter |
| optional; may be nullptr | |
| std::set< wxString > | m_specialStrings |
| special strings in text that KiCad has no variable for | |
| unsigned | m_doneCount |
| unsigned | m_lastProgressCount |
| unsigned | m_totalCount |
| for progress reporting | |
| wxString | m_library |
| for footprint library loading error reporting | |
| wxString | m_footprintName |
| for footprint library loading error reporting | |
| int | m_highest_pour_index |
| Altium stores pour order across all layers. | |
Friends | |
| struct | ALTIUM_PCB_IMPORT_FIXTURE |
Definition at line 154 of file altium_pcb.h.
|
explicit |
Definition at line 469 of file altium_pcb.cpp.
References m_board, m_doneCount, m_footprintName, m_highest_pour_index, m_lastProgressCount, m_layerMappingHandler, m_library, m_progressReporter, m_reporter, and m_totalCount.
| ALTIUM_PCB::~ALTIUM_PCB | ( | ) |
Definition at line 485 of file altium_pcb.cpp.
|
private |
Definition at line 489 of file altium_pcb.cpp.
References m_doneCount, m_lastProgressCount, m_progressReporter, m_totalCount, and THROW_IO_CANCELLED.
Referenced by ParseArcs6Data(), ParseBoard6Data(), ParseBoardRegionsData(), ParseClasses6Data(), ParseComponents6Data(), ParseComponentsBodies6Data(), ParseDimensions6Data(), ParseExtendedPrimitiveInformationData(), ParseFills6Data(), ParseModelsData(), ParseNets6Data(), ParsePads6Data(), ParsePolygons6Data(), ParseRegions6Data(), ParseRules6Data(), ParseShapeBasedRegions6Data(), ParseSmartUnions6Data(), ParseTexts6Data(), ParseTracks6Data(), and ParseVias6Data().
|
private |
Definition at line 4510 of file altium_pcb.cpp.
References ALTIUM_POLYGON_BOARD, ALTIUM_POLYGON_NONE, APPEND, ARC, ARC_HIGH_DEF, ConvertArcs6ToBoardItemOnLayer(), ConvertArcs6ToPcbShape(), ERROR_INSIDE, ZONE::GetFill(), GetKicadLayer(), GetKicadLayersToIterate(), ZONE::HasFilledPolysForLayer(), HelperGetSolderAndPasteMaskExpansions(), HelperPcpShapeAsBoardKeepoutRegion(), AARC6::is_keepout, IsAltiumLayerAPlane(), KEEP_OUT_LAYER, AARC6::keepoutrestrictions, AARC6::layer, m_board, m_polygons, AARC6::polygon, ZONE::SetIsFilled(), ZONE::SetNeedRefill(), PCB_SHAPE::SetStroke(), SOLID, THROW_IO_ERRORF, UNDEFINED_LAYER, and AARC6::width.
Referenced by ParseArcs6Data().
|
private |
Definition at line 4659 of file altium_pcb.cpp.
References std::abs(), ALTIUM_NET_UNCONNECTED, APPEND, EDA_ANGLE::AsDegrees(), AARC6::center, ConvertArcs6ToPcbShape(), EDA_ANGLE::Cos(), DEGREES_T, AARC6::endangle, GetNetCode(), IsCopperLayer(), KiROUND(), m_board, m_unionToBoardItems, AARC6::net, EDA_ANGLE::Normalize(), AARC6::radius, EDA_ANGLE::Sin(), SOLID, AARC6::startangle, AARC6::unionindex, and AARC6::width.
Referenced by ConvertArcs6ToBoardItem(), and ALTIUM_PCB_IMPORT_FIXTURE::convertConnectedArc().
|
private |
Definition at line 4589 of file altium_pcb.cpp.
References FOOTPRINT::Add(), ALTIUM_NET_UNCONNECTED, ALTIUM_POLYGON_NONE, APPEND, ARC, ConvertArcs6ToFootprintItemOnLayer(), ConvertArcs6ToPcbShape(), GetKicadLayersToIterate(), HelperDeferComponentCopper(), HelperGetSolderAndPasteMaskExpansions(), HelperPcpShapeAsFootprintKeepoutRegion(), AARC6::is_keepout, IsAltiumLayerAPlane(), IsCopperLayer(), KEEP_OUT_LAYER, AARC6::keepoutrestrictions, AARC6::layer, AARC6::net, AARC6::polygon, PCB_SHAPE::SetStroke(), SOLID, and AARC6::width.
Referenced by ParseArcs6Data(), and ParseFootprint().
|
private |
Definition at line 4714 of file altium_pcb.cpp.
References FOOTPRINT::Add(), APPEND, ConvertArcs6ToPcbShape(), SOLID, and AARC6::width.
Referenced by ConvertArcs6ToFootprintItem().
Definition at line 4483 of file altium_pcb.cpp.
References ARC, AARC6::center, CIRCLE, EDA_ANGLE::Cos(), DEGREES_T, AARC6::endangle, KiROUND(), EDA_ANGLE::Normalize(), AARC6::radius, PCB_SHAPE::SetArcAngleAndEnd(), PCB_SHAPE::SetCenter(), PCB_SHAPE::SetEnd(), PCB_SHAPE::SetShape(), PCB_SHAPE::SetStart(), EDA_ANGLE::Sin(), and AARC6::startangle.
Referenced by ConvertArcs6ToBoardItem(), ConvertArcs6ToBoardItemOnLayer(), ConvertArcs6ToFootprintItem(), and ConvertArcs6ToFootprintItemOnLayer().
|
private |
Definition at line 6566 of file altium_pcb.cpp.
References APPEND, ATEXT6::barcode_inverted, ATEXT6::barcode_margin, ATEXT6::barcode_type, CODE128, CODE39, CODE_128, CODE_39, m_board, ATEXT6::position, ATEXT6::text, ATEXT6::textbox_rect_height, and ATEXT6::textbox_rect_width.
Referenced by ConvertTexts6ToBoardItem().
|
private |
Definition at line 6591 of file altium_pcb.cpp.
References FOOTPRINT::Add(), APPEND, ATEXT6::barcode_inverted, ATEXT6::barcode_margin, ATEXT6::barcode_type, CODE128, CODE39, CODE_128, CODE_39, ATEXT6::position, ATEXT6::text, ATEXT6::textbox_rect_height, and ATEXT6::textbox_rect_width.
Referenced by ConvertTexts6ToFootprintItem().
|
private |
Definition at line 2688 of file altium_pcb.cpp.
References _, ACOMPONENTBODY6::body_opacity_3d, ACOMPONENTBODY6::body_projection, EMBEDDED_FILES::CompressAndEncode(), DEFAULT_BOARD_THICKNESS_MM, ALTIUM_PCB_COMPOUND_FILE::GetLibModel(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetReference(), HelperEmbedModel(), FOOTPRINT::IsFlipped(), FP_3DMODEL::m_Filename, FP_3DMODEL::m_Offset, FP_3DMODEL::m_Opacity, m_progressReporter, m_reporter, FP_3DMODEL::m_Rotation, model, ACOMPONENTBODY6::modelId, ACOMPONENTBODY6::modelIsEmbedded, ACOMPONENTBODY6::modelName, ACOMPONENTBODY6::modelPosition, ACOMPONENTBODY6::modelRotation, FOOTPRINT::Models(), normalizeAngleDegrees(), orientation(), pcbIUScale, RotatePoint(), ACOMPONENTBODY6::rotation, RPT_SEVERITY_ERROR, VECTOR3< T >::x, VECTOR3< T >::y, and VECTOR3< T >::z.
Referenced by ParseFootprint().
|
private |
Definition at line 6895 of file altium_pcb.cpp.
References center, ConvertFills6ToBoardItemOnLayer(), DEGREES_T, GetKicadLayersToIterate(), HelperPcpShapeAsBoardKeepoutRegion(), AFILL6::is_keepout, KEEP_OUT_LAYER, AFILL6::keepoutrestrictions, AFILL6::layer, AFILL6::pos1, AFILL6::pos2, RECTANGLE, PCB_SHAPE::Rotate(), AFILL6::rotation, PCB_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SOLID, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ParseFills6Data().
|
private |
Definition at line 7002 of file altium_pcb.cpp.
References ALTIUM_NET_UNCONNECTED, APPEND, ConvertFills6ToPcbShape(), GetNetCode(), IsCopperLayer(), m_board, AFILL6::net, and RECTANGLE.
Referenced by ConvertFills6ToBoardItem().
|
private |
Definition at line 6924 of file altium_pcb.cpp.
References ALTIUM_NET_UNCONNECTED, center, ConvertFills6ToFootprintItemOnLayer(), ConvertFills6ToPcbShape(), DEGREES_T, GetKicadLayersToIterate(), HelperDeferComponentCopper(), HelperPcpShapeAsFootprintKeepoutRegion(), AFILL6::is_keepout, IsAltiumLayerCopper(), IsInnerCopperLayer(), KEEP_OUT_LAYER, AFILL6::keepoutrestrictions, AFILL6::layer, AFILL6::net, AFILL6::pos1, AFILL6::pos2, RECTANGLE, PCB_SHAPE::Rotate(), AFILL6::rotation, PCB_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SOLID, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ParseFills6Data(), and ParseFootprint().
|
private |
Definition at line 7018 of file altium_pcb.cpp.
References std::abs(), FOOTPRINT::Add(), PADSTACK::ALL_LAYERS, ANGLE_90, APPEND, SHAPE_POLY_SET::Append(), B_Cu, center, CIRCLE, CUSTOM, DEGREES_T, F_Cu, EDA_ANGLE::IsCardinal(), EDA_ANGLE::IsCardinal90(), SHAPE_POLY_SET::NewOutline(), PADSTACK::NORMAL, SHAPE_POLY_SET::Outline(), pad, AFILL6::pos1, AFILL6::pos2, RECTANGLE, SHAPE_POLY_SET::Rotate(), AFILL6::rotation, BASE_SET::set(), SHAPE_LINE_CHAIN::SetClosed(), SMD, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ConvertFills6ToFootprintItem().
Definition at line 6983 of file altium_pcb.cpp.
References center, DEGREES_T, AFILL6::pos1, AFILL6::pos2, RECTANGLE, PCB_SHAPE::Rotate(), AFILL6::rotation, PCB_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetShape(), PCB_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ConvertFills6ToBoardItemOnLayer(), and ConvertFills6ToFootprintItem().
|
private |
Definition at line 4756 of file altium_pcb.cpp.
References APPEND, ConvertPads6ToBoardItemOnNonCopper(), ConvertPads6ToFootprintItemOnCopper(), FP_BOARD_ONLY, FP_EXCLUDE_FROM_BOM, FP_EXCLUDE_FROM_POS_FILES, IsAltiumLayerAPlane(), IsAltiumLayerCopper(), APAD6::layer, m_board, MULTI_LAYER, and APAD6::position.
Referenced by ParsePads6Data().
|
private |
Definition at line 5243 of file altium_pcb.cpp.
References _, APPEND, Eco1_User, GetKicadLayer(), HelperParsePad6NonCopper(), APAD6::layer, m_board, m_reporter, APAD6::name, pad, RPT_SEVERITY_INFO, and UNDEFINED_LAYER.
Referenced by ConvertPads6ToBoardItem().
|
private |
Definition at line 4884 of file altium_pcb.cpp.
References ConvertPads6ToFootprintItemOnCopper(), ConvertPads6ToFootprintItemOnNonCopper(), IsAltiumLayerAPlane(), IsAltiumLayerCopper(), APAD6::layer, and MULTI_LAYER.
Referenced by ParseFootprint(), and ParsePads6Data().
|
private |
Definition at line 4899 of file altium_pcb.cpp.
References _, FOOTPRINT::Add(), PADSTACK::ALL_LAYERS, APAD6_SIZE_AND_SHAPE::alt_shape, ALTIUM_BOTTOM_PADSTACK_IDX, ALTIUM_MID1_PADSTACK_IDX, ALTIUM_MID2_PADSTACK_IDX, ALTIUM_PADSTACK_IDX_COUNT, ALTIUM_TOP_PADSTACK_IDX, altiumSlotDrillSize(), ANGLE_90, APPEND, EDA_ANGLE::AsDegrees(), B_Cu, B_Mask, BOARD_ITEM::BoardLayerSet(), APAD6::botshape, APAD6::botsize, BOTTOM_LAYER, CHAMFERED_RECT, CIRCLE, APAD6_SIZE_AND_SHAPE::cornerradius, PADSTACK::CUSTOM, DEGREES_T, APAD6::direction, F_Cu, F_Mask, PADSTACK::FRONT_INNER_BACK, FULL_STACK, GetKicadLayer(), GetNetCode(), FOOTPRINT::GetReference(), HelperGetPadstackLayerIndex(), APAD6_SIZE_AND_SHAPE::holeoffset, APAD6_SIZE_AND_SHAPE::holeshape, APAD6::holesize, PADSTACK::INNER_LAYERS, APAD6_SIZE_AND_SHAPE::inner_shape, APAD6_SIZE_AND_SHAPE::inner_size, LSET::InternalCuMask(), APAD6::is_tent_bottom, APAD6::is_tent_top, KiROUND(), APAD6::layer, m_footprintName, m_library, m_reporter, MANUAL, APAD6::midshape, APAD6::midsize, MULTI_LAYER, APAD6::name, APAD6::net, PADSTACK::NORMAL, EDA_ANGLE::Normalize(), NPTH, OBLONG, OCTAGONAL, OVAL, pad, APAD6::pad_to_die_delay, APAD6::pad_to_die_length, APAD6::padmode, APAD6::pastemaskexpansionmanual, APAD6::pastemaskexpansionmode, APAD6::plated, APAD6::position, PTH, PAD::PTHMask(), RECT, RECT_CHAMFER_ALL, RECTANGLE, ROUND, ROUNDRECT, RPT_SEVERITY_DEBUG, RPT_SEVERITY_ERROR, PADSTACK::SetChamferPositions(), PADSTACK::SetChamferRatio(), PADSTACK::SetMode(), PADSTACK::SetOffset(), PADSTACK::SetRoundRectRadiusRatio(), PADSTACK::SetShape(), PADSTACK::SetSize(), SIMPLE, APAD6::sizeAndShape, SLOT, APAD6_SIZE_AND_SHAPE::slotrotation, APAD6_SIZE_AND_SHAPE::slotsize, SMD, PAD::SMDMask(), APAD6::soldermaskexpansionmanual, APAD6::soldermaskexpansionmode, SQUARE, TOP_LAYER, TOP_MIDDLE_BOTTOM, APAD6::topshape, APAD6::topsize, UNKNOWN, and PAD::UnplatedHoleMask().
Referenced by ConvertPads6ToBoardItem(), and ConvertPads6ToFootprintItem().
|
private |
Definition at line 5269 of file altium_pcb.cpp.
References _, FOOTPRINT::Add(), APPEND, Eco1_User, GetKicadLayer(), FOOTPRINT::GetReference(), HelperParsePad6NonCopper(), APAD6::layer, m_footprintName, m_library, m_reporter, APAD6::name, pad, RPT_SEVERITY_INFO, and UNDEFINED_LAYER.
Referenced by ConvertPads6ToFootprintItem().
|
private |
Definition at line 3925 of file altium_pcb.cpp.
References _, ALTIUM_KEEPOUT_COPPER, ALTIUM_POLYGON_NONE, APPEND, SHAPE_POLY_SET::Append(), BOARD_CUTOUT, ConvertShapeBasedRegions6ToBoardItemOnLayer(), COPPER, DASH, DASHED_OUTLINE, DIAGONAL_EDGE, Eco1_User, SHAPE_POLY_SET::Fracture(), ZONE::GetDefaultHatchPitch(), GetKicadLayer(), GetKicadLayersToIterate(), GetNetCode(), HelperGetKeepoutRestrictions(), HelperSetZoneKeepoutRestrictions(), HelperSetZoneLayers(), HelperShapeLineChainFromAltiumVertices(), INVISIBLE_BORDER, AREGION6::is_keepout, AREGION6::is_teardrop, AREGION6::keepoutrestrictions, AREGION6::kind, AREGION6::layer, m_board, m_boardCutouts, m_reporter, AREGION6::net, AREGION6::outline, pcbIUScale, SHAPE_LINE_CHAIN::PointCount(), POLY, AREGION6::polygon, POLYGON_CUTOUT, RPT_SEVERITY_ERROR, TD_UNSPECIFIED, and UNDEFINED_LAYER.
Referenced by ParseShapeBasedRegions6Data().
|
private |
Definition at line 4209 of file altium_pcb.cpp.
References SHAPE_POLY_SET::AddHole(), SHAPE_POLY_SET::AddOutline(), ALTIUM_NET_UNCONNECTED, APPEND, ARC_HIGH_DEF, B_Cu, B_Mask, B_Paste, F_Cu, F_Mask, F_Paste, GetNetCode(), HelperGetSolderAndPasteMaskExpansions(), HelperShapeLineChainFromAltiumVertices(), AREGION6::holes, SHAPE_POLY_SET::Inflate(), IsCopperLayer(), AREGION6::layer, m_board, AREGION6::net, AREGION6::outline, SHAPE_LINE_CHAIN::PointCount(), POLY, REGION, and ROUND_ALL_CORNERS.
Referenced by ConvertShapeBasedRegions6ToBoardItem().
|
private |
Plain copper region of a footprint; inner layers wait to join the pad they touch.
Definition at line 3880 of file altium_pcb.cpp.
References SHAPE_POLY_SET::AddHole(), ConvertShapeBasedRegions6ToFootprintItemOnLayer(), GetKicadLayersToIterate(), HelperDeferComponentCopper(), HelperShapeLineChainFromAltiumVertices(), AREGION6::holes, IsInnerCopperLayer(), AREGION6::layer, AREGION6::outline, SHAPE_LINE_CHAIN::PointCount(), and POLY.
Referenced by ParseFootprint(), and ParseShapeBasedRegions6Data().
|
private |
Definition at line 4061 of file altium_pcb.cpp.
References _, FOOTPRINT::Add(), ALTIUM_KEEPOUT_COPPER, ALTIUM_POLYGON_NONE, APPEND, BOARD_CUTOUT, ConvertShapeBasedRegions6ToFootprintItemOnLayer(), COPPER, DASH, DASHED_OUTLINE, DIAGONAL_EDGE, Eco1_User, Edge_Cuts, ZONE::GetDefaultHatchPitch(), GetKicadLayer(), GetKicadLayersToIterate(), FOOTPRINT::GetReference(), HelperFootprintZoneToLibFrame(), HelperGetKeepoutRestrictions(), HelperSetZoneKeepoutRestrictions(), HelperSetZoneLayers(), HelperShapeLineChainFromAltiumVertices(), AREGION6::is_keepout, AREGION6::keepoutrestrictions, AREGION6::kind, AREGION6::layer, m_footprintName, m_library, m_reporter, AREGION6::outline, pcbIUScale, SHAPE_LINE_CHAIN::PointCount(), POLY, AREGION6::polygon, POLYGON_CUTOUT, RPT_SEVERITY_ERROR, SOLID, and UNDEFINED_LAYER.
Referenced by ParseFootprint(), and ParseShapeBasedRegions6Data().
|
private |
Definition at line 4284 of file altium_pcb.cpp.
References FOOTPRINT::Add(), SHAPE_POLY_SET::AddHole(), SHAPE_POLY_SET::AddOutline(), PADSTACK::ALL_LAYERS, ANGLE_0, ANGLE_90, APPEND, B_Cu, B_Mask, B_Paste, CIRCLE, SHAPE_LINE_CHAIN::CPoint(), CUSTOM, F_Cu, F_Mask, F_Paste, GetNetCode(), HelperShapeLineChainFromAltiumVertices(), AREGION6::holes, info, m_extendedPrimitiveInformationMaps, MANUAL, SHAPE_POLY_SET::Move(), AREGION6::net, NONE, PADSTACK::NORMAL, AREGION6::outline, pad, SHAPE_LINE_CHAIN::PointCount(), POLY, REGION, BASE_SET::set(), and SMD.
Referenced by ConvertShapeBasedRegions6ToFootprintCopper(), and ConvertShapeBasedRegions6ToFootprintItem().
|
private |
Definition at line 6416 of file altium_pcb.cpp.
References BARCODE, ConvertBarcodes6ToBoardItemOnLayer(), ConvertTexts6ToBoardItemOnLayer(), ATEXT6::fonttype, GetKicadLayersToIterate(), and ATEXT6::layer.
Referenced by ParseTexts6Data().
|
private |
Definition at line 6445 of file altium_pcb.cpp.
References AltiumPcbSpecialStringsToKiCadStrings(), APPEND, ConvertTexts6ToEdaTextSettings(), HelperSetTextAlignmentAndPos(), HelperSetTextboxAlignmentAndPos(), ATEXT6::isFrame, ATEXT6::isInverted, m_board, m_specialStrings, BOARD_ITEM::SetIsKnockout(), BOARD_ITEM::SetLayer(), ATEXT6::text, and text.
Referenced by ConvertTexts6ToBoardItem().
|
private |
Definition at line 6836 of file altium_pcb.cpp.
References ATEXT6::fontname, ATEXT6::fonttype, KIFONT::FONT::GetFont(), KIFONT::FONT::GetName(), ATEXT6::height, ATEXT6::isBold, ATEXT6::isItalic, ATEXT6::isMirrored, KIFONT::FONT::IsOutline(), EDA_TEXT::MigrateLegacyBoldStrokeWidth(), EDA_TEXT::SetBoldFlag(), EDA_TEXT::SetFont(), EDA_TEXT::SetItalic(), EDA_TEXT::SetMirrored(), EDA_TEXT::SetTextSize(), EDA_TEXT::SetTextThickness(), ATEXT6::strokewidth, and TRUETYPE.
Referenced by ConvertTexts6ToBoardItemOnLayer(), and ConvertTexts6ToFootprintItemOnLayer().
|
private |
Definition at line 6431 of file altium_pcb.cpp.
References BARCODE, ConvertBarcodes6ToFootprintItemOnLayer(), ConvertTexts6ToFootprintItemOnLayer(), ATEXT6::fonttype, GetKicadLayersToIterate(), and ATEXT6::layer.
Referenced by ParseFootprint(), and ParseTexts6Data().
|
private |
Definition at line 6491 of file altium_pcb.cpp.
References FOOTPRINT::Add(), AltiumPcbSpecialStringsToKiCadStrings(), APPEND, ConvertTexts6ToEdaTextSettings(), HelperSetTextAlignmentAndPos(), HelperSetTextboxAlignmentAndPos(), ATEXT6::isComment, ATEXT6::isDesignator, ATEXT6::isFrame, ATEXT6::isInverted, m_specialStrings, FOOTPRINT::Reference(), BOARD_ITEM::SetIsKnockout(), BOARD_ITEM::SetLayer(), ATEXT6::text, text, and FOOTPRINT::Value().
Referenced by ConvertTexts6ToFootprintItem().
|
private |
Definition at line 5670 of file altium_pcb.cpp.
References ALTIUM_POLYGON_BOARD, ALTIUM_POLYGON_NONE, APPEND, ARC_HIGH_DEF, ConvertTracks6ToBoardItemOnLayer(), ATRACK6::end, ERROR_INSIDE, ZONE::GetFill(), GetKicadLayer(), GetKicadLayersToIterate(), ZONE::HasFilledPolysForLayer(), HelperGetSolderAndPasteMaskExpansions(), HelperPcpShapeAsBoardKeepoutRegion(), ATRACK6::is_keepout, IsAltiumLayerAPlane(), KEEP_OUT_LAYER, ATRACK6::keepoutrestrictions, ATRACK6::layer, m_board, m_polygons, m_reporter, ATRACK6::polygon, RPT_SEVERITY_DEBUG, SEGMENT, PCB_SHAPE::SetEnd(), ZONE::SetIsFilled(), ZONE::SetNeedRefill(), PCB_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SOLID, ATRACK6::start, TRACK, UNDEFINED_LAYER, and ATRACK6::width.
Referenced by ParseTracks6Data().
|
private |
Definition at line 5830 of file altium_pcb.cpp.
References ALTIUM_NET_UNCONNECTED, APPEND, ATRACK6::end, GetNetCode(), IsCopperLayer(), m_board, m_unionToBoardItems, ATRACK6::net, SEGMENT, SOLID, ATRACK6::start, ATRACK6::unionindex, and ATRACK6::width.
Referenced by ConvertTracks6ToBoardItem().
|
private |
Definition at line 5758 of file altium_pcb.cpp.
References FOOTPRINT::Add(), ALTIUM_NET_UNCONNECTED, ALTIUM_POLYGON_NONE, APPEND, ConvertTracks6ToFootprintItemOnLayer(), ATRACK6::end, GetKicadLayersToIterate(), HelperDeferComponentCopper(), HelperGetSolderAndPasteMaskExpansions(), HelperPcpShapeAsFootprintKeepoutRegion(), ATRACK6::is_keepout, IsAltiumLayerAPlane(), IsCopperLayer(), KEEP_OUT_LAYER, ATRACK6::keepoutrestrictions, ATRACK6::layer, ATRACK6::net, ATRACK6::polygon, SEGMENT, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SOLID, ATRACK6::start, TRACK, and ATRACK6::width.
Referenced by ParseFootprint(), and ParseTracks6Data().
|
private |
Definition at line 5862 of file altium_pcb.cpp.
References FOOTPRINT::Add(), APPEND, ATRACK6::end, SEGMENT, SOLID, ATRACK6::start, and ATRACK6::width.
Referenced by ConvertTracks6ToFootprintItem().
|
private |
Definition at line 5534 of file altium_pcb.cpp.
References _, PADSTACK::ALL_LAYERS, LSET::AllCuMask(), ALTIUM_BOTTOM_PADSTACK_IDX, ALTIUM_MID1_PADSTACK_IDX, ALTIUM_TOP_PADSTACK_IDX, altiumViaSideIsTented(), APPEND, B_Cu, BLIND, BOTTOM_LAYER, BURIED, PADSTACK::CUSTOM, AVIA6::diameter, AVIA6::diameter_by_layer, F_Cu, PADSTACK::FRONT_INNER_BACK, FULL_STACK, GetKicadLayer(), GetNetCode(), HelperGetPadstackLayerIndex(), AVIA6::holesize, PADSTACK::INNER_LAYERS, AVIA6::is_locked, AVIA6::is_tent_bottom, AVIA6::is_tent_top, IsCopperLayer(), AVIA6::layer_end, AVIA6::layer_start, m_board, m_reporter, MICROVIA, AVIA6::net, NOT_TENTED, AVIA6::position, RPT_SEVERITY_DEBUG, SIMPLE, AVIA6::soldermask_expansion_back, AVIA6::soldermask_expansion_from_hole, AVIA6::soldermask_expansion_front, AVIA6::soldermask_expansion_manual, TENTED, THROUGH, TOP_LAYER, TOP_MIDDLE_BOTTOM, via, and AVIA6::viamode.
Referenced by HelperFoldComponentCopperIntoPads(), and ParseVias6Data().
|
private |
Definition at line 4781 of file altium_pcb.cpp.
References FOOTPRINT::Add(), PADSTACK::ALL_LAYERS, LSET::AllCuMask(), ALTIUM_BOTTOM_PADSTACK_IDX, ALTIUM_MID1_PADSTACK_IDX, ALTIUM_TOP_PADSTACK_IDX, altiumViaSideIsTented(), APPEND, B_Cu, B_Mask, CIRCLE, PADSTACK::CUSTOM, AVIA6::diameter, AVIA6::diameter_by_layer, F_Cu, F_Mask, PADSTACK::FRONT_INNER_BACK, GetNetCode(), HelperGetPadstackLayerIndex(), AVIA6::holesize, PADSTACK::INNER_LAYERS, AVIA6::is_locked, AVIA6::is_tent_bottom, AVIA6::is_tent_top, m_board, AVIA6::net, PADSTACK::NORMAL, pad, AVIA6::position, PTH, SIMPLE, AVIA6::soldermask_expansion_back, AVIA6::soldermask_expansion_from_hole, AVIA6::soldermask_expansion_front, AVIA6::soldermask_expansion_manual, top(), TOP_MIDDLE_BOTTOM, and AVIA6::viamode.
Referenced by HelperFoldComponentCopperIntoPads(), and ParseFootprint().
|
private |
Definition at line 325 of file altium_pcb.cpp.
References B_Cu, B_Mask, B_Paste, B_SilkS, BACKGROUND, BOTTOM_LAYER, BOTTOM_OVERLAY, BOTTOM_PASTE, BOTTOM_SOLDER, CONNECTIONS, DRC_ERROR_MARKERS, DRILL_DRAWING, DRILL_GUIDE, Dwgs_User, F_Cu, F_Mask, F_Paste, F_SilkS, In10_Cu, In11_Cu, In12_Cu, In13_Cu, In14_Cu, In15_Cu, In16_Cu, In17_Cu, In18_Cu, In19_Cu, In1_Cu, In20_Cu, In21_Cu, In22_Cu, In23_Cu, In24_Cu, In25_Cu, In26_Cu, In27_Cu, In28_Cu, In29_Cu, In2_Cu, In30_Cu, In3_Cu, In4_Cu, In5_Cu, In6_Cu, In7_Cu, In8_Cu, In9_Cu, INTERNAL_PLANE_1, INTERNAL_PLANE_10, INTERNAL_PLANE_11, INTERNAL_PLANE_12, INTERNAL_PLANE_13, INTERNAL_PLANE_14, INTERNAL_PLANE_15, INTERNAL_PLANE_16, INTERNAL_PLANE_2, INTERNAL_PLANE_3, INTERNAL_PLANE_4, INTERNAL_PLANE_5, INTERNAL_PLANE_6, INTERNAL_PLANE_7, INTERNAL_PLANE_8, INTERNAL_PLANE_9, KEEP_OUT_LAYER, m_layermap, Margin, MAX_USER_DEFINED_LAYERS, MECHANICAL_1, MECHANICAL_10, MECHANICAL_11, MECHANICAL_12, MECHANICAL_13, MECHANICAL_14, MECHANICAL_15, MECHANICAL_16, MECHANICAL_2, MECHANICAL_3, MECHANICAL_4, MECHANICAL_5, MECHANICAL_6, MECHANICAL_7, MECHANICAL_8, MECHANICAL_9, MID_LAYER_1, MID_LAYER_10, MID_LAYER_11, MID_LAYER_12, MID_LAYER_13, MID_LAYER_14, MID_LAYER_15, MID_LAYER_16, MID_LAYER_17, MID_LAYER_18, MID_LAYER_19, MID_LAYER_2, MID_LAYER_20, MID_LAYER_21, MID_LAYER_22, MID_LAYER_23, MID_LAYER_24, MID_LAYER_25, MID_LAYER_26, MID_LAYER_27, MID_LAYER_28, MID_LAYER_29, MID_LAYER_3, MID_LAYER_30, MID_LAYER_4, MID_LAYER_5, MID_LAYER_6, MID_LAYER_7, MID_LAYER_8, MID_LAYER_9, MULTI_LAYER, PAD_HOLES, SELECTIONS, TOP_LAYER, TOP_OVERLAY, TOP_PASTE, TOP_SOLDER, UNDEFINED_LAYER, UNKNOWN, User_1, User_10, User_11, User_12, User_13, User_14, User_15, User_16, User_2, User_3, User_4, User_5, User_6, User_7, User_8, User_9, V7_MECHANICAL_1, V7_MECHANICAL_17, V7_MECHANICAL_LAST, VIA_HOLES, VISIBLE_GRID_1, and VISIBLE_GRID_2.
Referenced by ConvertArcs6ToBoardItem(), ConvertPads6ToBoardItemOnNonCopper(), ConvertPads6ToFootprintItemOnCopper(), ConvertPads6ToFootprintItemOnNonCopper(), ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintItem(), ConvertTracks6ToBoardItem(), ConvertVias6ToBoardItem(), GetKicadLayersToIterate(), HelperParseDimensions6Center(), HelperParseDimensions6Datum(), HelperParseDimensions6Leader(), HelperParseDimensions6Linear(), HelperParseDimensions6Radial(), ParseBoard6Data(), ParseFootprint(), ParsePolygons6Data(), ParseRegions6Data(), and remapUnsureLayers().
|
private |
Definition at line 443 of file altium_pcb.cpp.
References B_Cu, F_Cu, GetKicadLayer(), KEEP_OUT_LAYER, m_board, MULTI_LAYER, and UNDEFINED_LAYER.
Referenced by ConvertArcs6ToBoardItem(), ConvertArcs6ToFootprintItem(), ConvertFills6ToBoardItem(), ConvertFills6ToFootprintItem(), ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintCopper(), ConvertShapeBasedRegions6ToFootprintItem(), ConvertTexts6ToBoardItem(), ConvertTexts6ToFootprintItem(), ConvertTracks6ToBoardItem(), ConvertTracks6ToFootprintItem(), and HelperSetZoneLayers().
|
private |
Definition at line 1520 of file altium_pcb.cpp.
References ALTIUM_NET_UNCONNECTED, m_altiumToKicadNetcodes, THROW_IO_ERRORF, and NETINFO_LIST::UNCONNECTED.
Referenced by ConvertArcs6ToBoardItemOnLayer(), ConvertFills6ToBoardItemOnLayer(), ConvertPads6ToFootprintItemOnCopper(), ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToBoardItemOnLayer(), ConvertShapeBasedRegions6ToFootprintItemOnLayer(), ConvertTracks6ToBoardItemOnLayer(), ConvertVias6ToBoardItem(), ConvertVias6ToFootprintItem(), ALTIUM_PCB_IMPORT_FIXTURE::getNetCode(), HelperDeferComponentCopper(), HelperFoldComponentCopperIntoPads(), and ParsePolygons6Data().
|
private |
Definition at line 1537 of file altium_pcb.cpp.
References ARULE6::enabled, m_rules, and ARULE6::name.
|
private |
Definition at line 1553 of file altium_pcb.cpp.
References ARULE6::enabled, IsAltiumScopeAll(), m_rules, ARULE6::scope1expr, and ARULE6::scope2expr.
Referenced by GetRuleForPolygon(), and ParseRules6Data().
|
private |
Definition at line 1570 of file altium_pcb.cpp.
References GetRuleDefault(), m_rules, and selectAltiumPolygonRule().
Referenced by ParsePolygons6Data().
|
inline |
Special strings in the parsed text that KiCad has no variable for.
Definition at line 174 of file altium_pcb.h.
References m_specialStrings.
Referenced by LoadAltiumBoard().
|
private |
Rebuild the composite netclasses and point every net at its effective netclass.
Definition at line 2585 of file altium_pcb.cpp.
References m_board.
Referenced by ParseClasses6Data(), and ParseRules6Data().
|
private |
Definition at line 1773 of file altium_pcb.cpp.
References BOTTOM_LAYER, IsCopperLayer(), m_layermap, m_padstackLayerIndex, and TOP_LAYER.
Referenced by ParseBoard6Data().
|
private |
Definition at line 2441 of file altium_pcb.cpp.
References m_board, m_outlineJogCount, and m_outlineJogLargest.
|
private |
Definition at line 2081 of file altium_pcb.cpp.
References HelperCreateBoardOutline(), and HelperShapeLineChainFromAltiumVertices().
Referenced by HelperCreateBoardOutline(), and HelperFinishBoardOutline().
|
private |
Definition at line 5923 of file altium_pcb.cpp.
References _, SHAPE_LINE_CHAIN::CLastPoint(), SHAPE_LINE_CHAIN::CPoint(), GENERATORS_MGR::CreateFromType(), DIFF_PAIR, SHAPE_LINE_CHAIN::Distance(), PCB_TRACK::GetEnd(), BOARD_CONNECTED_ITEM::GetNetname(), PCB_TRACK::GetStart(), INSERT, GENERATORS_MGR::Instance(), KiROUND(), m_board, m_reporter, m_tuningUnions, m_unionNames, m_unionToBoardItems, RPT_SEVERITY_INFO, SINGLE, and SEG::SquaredDistance().
Referenced by Parse().
|
private |
Hold copper a footprint draws until its pads exist.
| aFallback | places the copper where it would otherwise go when no pad of its net touches it. |
Definition at line 6105 of file altium_pcb.cpp.
References GetNetCode(), and m_pendingComponentCopper.
Referenced by ConvertArcs6ToFootprintItem(), ConvertFills6ToFootprintItem(), ConvertShapeBasedRegions6ToFootprintCopper(), and ConvertTracks6ToFootprintItem().
|
private |
Return the 3D model aModelName embedded in aFootprint, inflating and embedding aCompressedData first if it is not there yet.
| aFootprint | |
| aModelName | |
| aCompressedData | |
| aIsNew | is set when the model was embedded by this call and so still owes a CompressAndEncode(), which the caller may run inline or on the pool. |
Definition at line 211 of file altium_pcb.cpp.
References EMBEDDED_FILES::AddFile(), EMBEDDED_FILES::EmbeddedFileMap(), FOOTPRINT::GetEmbeddedFiles(), and EMBEDDED_FILES::EMBEDDED_FILE::MODEL.
Referenced by ConvertComponentBody6ToFootprintItem(), and ParseComponentsBodies6Data().
|
private |
Definition at line 2018 of file altium_pcb.cpp.
References ASSEMBLY_BOT, ASSEMBLY_NOTES, ASSEMBLY_TOP, B_Adhes, B_CrtYd, B_Fab, BOARD, BOARD_SHAPE, Cmts_User, COMPONENT_CENTER_BOT, COMPONENT_CENTER_TOP, COMPONENT_OUTLINE_BOT, COMPONENT_OUTLINE_TOP, COURTYARD_BOT, COURTYARD_TOP, DESIGNATOR_BOT, DESIGNATOR_TOP, DIMENSIONS, DIMENSIONS_BOT, DIMENSIONS_TOP, Dwgs_User, Edge_Cuts, F_Adhes, F_CrtYd, F_Fab, FAB_NOTES, GLUE_POINTS_BOT, GLUE_POINTS_TOP, m_boardOutline, m_layermap, MECHANICAL_1, MECHANICAL_16, UNDEFINED_LAYER, V7_MECHANICAL_17, V7_MECHANICAL_LAST, V_CUT, VALUE_BOT, and VALUE_TOP.
Referenced by ParseBoard6Data(), and ParseFootprint().
|
private |
Definition at line 2450 of file altium_pcb.cpp.
References _, SHAPE_POLY_SET::AddOutline(), SHAPE_POLY_SET::BooleanSubtract(), SHAPE_POLY_SET::ClearArcs(), SHAPE_POLY_SET::CloneDropTriangulation(), HelperCreateBoardOutline(), SHAPE_LINE_CHAIN::Intersect(), m_board, m_boardCutouts, m_boardOutline, m_outlineJogCount, m_outlineJogLargest, m_reporter, pcbIUScale, SHAPE_LINE_CHAIN::PointCount(), RPT_SEVERITY_WARNING, and SHAPE_LINE_CHAIN::SetClosed().
Referenced by Parse().
|
private |
Join deferred component copper and vias to the same-net pads they touch.
Definition at line 6256 of file altium_pcb.cpp.
References LSET::AllCuMask(), ALTIUM_BOTTOM_PADSTACK_IDX, ALTIUM_MID1_PADSTACK_IDX, ALTIUM_TOP_PADSTACK_IDX, altiumFindTouchingPad(), B_Cu, ConvertVias6ToBoardItem(), ConvertVias6ToFootprintItem(), AVIA6::diameter, AVIA6::diameter_by_layer, F_Cu, FULL, FULL_STACK, GetNetCode(), PAD::GetNumber(), HelperFoldPendingCopper(), HelperGetPadstackLayerIndex(), HelperPlaceUnfoldedCopper(), m_board, m_components, m_pendingComponentVias, pad, PAD::SetLocalZoneConnection(), PAD::SetNumber(), TOP_MIDDLE_BOTTOM, via, and AVIA6::viamode.
Referenced by Parse().
|
private |
Join each deferred copper shape on aCopper to the same-net numbered pad it touches.
| aExtensionPads | copper-only pads made by earlier passes, which grow in place. |
Definition at line 6146 of file altium_pcb.cpp.
References FOOTPRINT::Add(), PADSTACK::ALL_LAYERS, altiumFindTouchingPad(), altiumIsolatePadLayer(), altiumMakePadLayerCustom(), ANGLE_0, ANGLE_90, APPEND, SHAPE_POLY_SET::BooleanSubtract(), CIRCLE, SHAPE_LINE_CHAIN::CPoint(), CUSTOM, ERROR_INSIDE, ERROR_OUTSIDE, ALTIUM_PCB::PENDING_COMPONENT_COPPER::footprint, FULL, SHAPE_POLY_SET::IsEmpty(), IsInnerCopperLayer(), ALTIUM_PCB::PENDING_COMPONENT_COPPER::layer, m_pendingComponentCopper, PCB_SHAPE::Move(), PADSTACK::NORMAL, SHAPE_POLY_SET::Outline(), pad, PCB_SHAPE::Rotate(), ALTIUM_PCB::PENDING_COMPONENT_COPPER::shape, SMD, and PCB_SHAPE::TransformShapeToPolygon().
Referenced by HelperFoldComponentCopperIntoPads(), and ParseFootprint().
|
private |
Definition at line 7153 of file altium_pcb.cpp.
References FOOTPRINT::GetTransform(), TRANSFORM_TRS::InverseApply(), SHAPE_POLY_SET::IterateWithHoles(), ZONE::Outline(), and SHAPE_POLY_SET::SetVertex().
Referenced by ConvertShapeBasedRegions6ToFootprintItem(), and HelperPcpShapeAsFootprintKeepoutRegion().
|
private |
Definition at line 198 of file altium_pcb.cpp.
References ALTIUM_COMPONENT_NONE, m_components, and THROW_IO_ERRORF.
Referenced by ParseArcs6Data(), ParseFills6Data(), ParsePads6Data(), ParseShapeBasedRegions6Data(), ParseTexts6Data(), and ParseTracks6Data().
|
private |
Resolve an Altium keepout restriction mask, substituting the restrictions implied by the layer when the mask is empty.
Definition at line 7129 of file altium_pcb.cpp.
References _, ALTIUM_KEEPOUT_ALL, ALTIUM_KEEPOUT_COPPER, IsAltiumLayerAPlane(), KEEP_OUT_LAYER, m_reporter, and RPT_SEVERITY_INFO.
Referenced by ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintItem(), HelperPcpShapeAsBoardKeepoutRegion(), and HelperPcpShapeAsFootprintKeepoutRegion().
|
private |
Return the slot aLayer occupies in an Altium padstack's per-layer arrays.
Those arrays are indexed by Altium layer id (top, mid 1 through 30, bottom), which only lines up with the KiCad stack position when the board stacks its mid layers in order.
Definition at line 1791 of file altium_pcb.cpp.
References CopperLayerToOrdinal(), and m_padstackLayerIndex.
Referenced by ConvertPads6ToFootprintItemOnCopper(), ConvertVias6ToBoardItem(), ConvertVias6ToFootprintItem(), and HelperFoldComponentCopperIntoPads().
|
private |
Definition at line 7220 of file altium_pcb.cpp.
References B_Mask, B_Paste, BOTTOM_LAYER, F_Mask, F_Paste, m_extendedPrimitiveInformationMaps, MANUAL, MASK, MULTI_LAYER, AEXTENDED_PRIMITIVE_INFORMATION::pastemaskexpansionmanual, AEXTENDED_PRIMITIVE_INFORMATION::pastemaskexpansionmode, RULE, AEXTENDED_PRIMITIVE_INFORMATION::soldermaskexpansionmanual, AEXTENDED_PRIMITIVE_INFORMATION::soldermaskexpansionmode, TOP_LAYER, and AEXTENDED_PRIMITIVE_INFORMATION::type.
Referenced by ConvertArcs6ToBoardItem(), ConvertArcs6ToFootprintItem(), ConvertShapeBasedRegions6ToBoardItemOnLayer(), ConvertTracks6ToBoardItem(), ConvertTracks6ToFootprintItem(), and ALTIUM_PCB_IMPORT_FIXTURE::getMaskExpansions().
|
private |
Definition at line 3197 of file altium_pcb.cpp.
References _, ADIMENSION6::angle, APPEND, DEGREES_T, Eco1_User, GetKicadLayer(), ADIMENSION6::height, ADIMENSION6::layer, ADIMENSION6::linewidth, m_board, m_reporter, RotatePoint(), RPT_SEVERITY_INFO, UNDEFINED_LAYER, and ADIMENSION6::xy1.
Referenced by ParseDimensions6Data().
|
private |
Definition at line 3166 of file altium_pcb.cpp.
References _, APPEND, Eco1_User, GetKicadLayer(), ADIMENSION6::layer, ADIMENSION6::linewidth, m_board, m_reporter, ADIMENSION6::referencePoint, RPT_SEVERITY_INFO, SEGMENT, SOLID, and UNDEFINED_LAYER.
|
private |
Definition at line 3067 of file altium_pcb.cpp.
References _, APPEND, ADIMENSION6::arrowsize, DEGREES_T, Eco1_User, VECTOR2< T >::EuclideanNorm(), GetKicadLayer(), GR_TEXT_H_ALIGN_LEFT, GR_TEXT_V_ALIGN_BOTTOM, KiROUND(), ADIMENSION6::layer, ADIMENSION6::linewidth, m_board, m_reporter, ADIMENSION6::referencePoint, RotatePoint(), RPT_SEVERITY_ERROR, SEGMENT, SOLID, text, ADIMENSION6::textformat, ADIMENSION6::textheight, ADIMENSION6::textlinewidth, ADIMENSION6::textPoint, UNDEFINED_LAYER, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ParseDimensions6Data().
|
private |
Basically REFERENCE0POINT and REFERENCE1POINT are the two end points of the dimension. XY1 is the position of the arrow above REFERENCE0POINT. those three points are not necessarily in 90degree angle, but KiCad requires this to show the correct measurements.
Therefore, we take the vector of REFERENCE0POINT -> XY1, calculate the normal, and intersect it with REFERENCE1POINT pointing the same direction as REFERENCE0POINT -> XY1. This should give us a valid measurement point where we can place the drawsegment.
Definition at line 2877 of file altium_pcb.cpp.
References _, APPEND, BARE_SUFFIX, BOLD_FACTOR, CM, VECTOR2< T >::Cross(), Eco1_User, VECTOR2< T >::EuclideanNorm(), GetKicadLayer(), INCH, SEG::Intersect(), INWARD, ADIMENSION6::layer, ADIMENSION6::linewidth, m_board, m_reporter, MILS, MM, NO_SUFFIX, PCB_DIM_ALIGNED_T, VECTOR2< T >::Perpendicular(), ADIMENSION6::referencePoint, RPT_SEVERITY_INFO, ADIMENSION6::textbold, ADIMENSION6::textheight, ADIMENSION6::textitalic, ADIMENSION6::textlinewidth, ADIMENSION6::textprecision, ADIMENSION6::textprefix, ADIMENSION6::textsuffix, ADIMENSION6::textunit, THROW_IO_ERROR, UNDEFINED_LAYER, and ADIMENSION6::xy1.
Referenced by ParseDimensions6Data().
|
private |
Definition at line 2984 of file altium_pcb.cpp.
References _, APPEND, BARE_SUFFIX, BOLD_FACTOR, CM, Eco1_User, GetKicadLayer(), GR_TEXT_H_ALIGN_LEFT, GR_TEXT_V_ALIGN_BOTTOM, GR_TEXT_V_ALIGN_CENTER, INCH, ADIMENSION6::layer, ADIMENSION6::linewidth, m_board, m_radialDimensions, m_reporter, MILS, MM, NO_SUFFIX, ADIMENSION6::referencePoint, RPT_SEVERITY_ERROR, RPT_SEVERITY_INFO, ADIMENSION6::textbold, ADIMENSION6::textgap, ADIMENSION6::textheight, ADIMENSION6::textitalic, ADIMENSION6::textlinewidth, ADIMENSION6::textPoint, ADIMENSION6::textprecision, ADIMENSION6::textprefix, ADIMENSION6::textsuffix, ADIMENSION6::textunit, THROW_IO_ERROR, UNDEFINED_LAYER, and ADIMENSION6::xy1.
Referenced by ParseDimensions6Data().
|
private |
Definition at line 5315 of file altium_pcb.cpp.
References _, APAD6_SIZE_AND_SHAPE::alt_shape, ALTIUM_NET_UNCONNECTED, chamfer, CIRCLE, APAD6_SIZE_AND_SHAPE::cornerradius, DEGREES_T, APAD6::direction, APAD6::holesize, m_reporter, APAD6::name, APAD6::net, OCTAGONAL, APAD6::padmode, POLY, APAD6::position, RECT, PCB_SHAPE::Rotate(), ROUNDRECT, RPT_SEVERITY_DEBUG, SEGMENT, PCB_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetPolyPoints(), PCB_SHAPE::SetShape(), PCB_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SIMPLE, APAD6::sizeAndShape, SOLID, APAD6::topshape, APAD6::topsize, UNKNOWN, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ConvertPads6ToBoardItemOnNonCopper(), and ConvertPads6ToFootprintItemOnNonCopper().
|
private |
Definition at line 7167 of file altium_pcb.cpp.
References APPEND, ARC_HIGH_DEF, DIAGONAL_EDGE, ERROR_INSIDE, ZONE::GetDefaultHatchPitch(), HelperGetKeepoutRestrictions(), HelperSetZoneKeepoutRestrictions(), HelperSetZoneLayers(), and m_board.
Referenced by ConvertArcs6ToBoardItem(), ConvertFills6ToBoardItem(), and ConvertTracks6ToBoardItem().
|
private |
Definition at line 7192 of file altium_pcb.cpp.
References FOOTPRINT::Add(), APPEND, ARC_HIGH_DEF, DIAGONAL_EDGE, ERROR_INSIDE, ZONE::GetDefaultHatchPitch(), HelperFootprintZoneToLibFrame(), HelperGetKeepoutRestrictions(), HelperSetZoneKeepoutRestrictions(), and HelperSetZoneLayers().
Referenced by ConvertArcs6ToFootprintItem(), ConvertFills6ToFootprintItem(), and ConvertTracks6ToFootprintItem().
|
private |
Run the fallback of every deferred copper shape no pad took.
Definition at line 6244 of file altium_pcb.cpp.
References m_pendingComponentCopper.
Referenced by HelperFoldComponentCopperIntoPads().
|
private |
Definition at line 6365 of file altium_pcb.cpp.
References FP_SMD, FP_THROUGH_HOLE, and m_components.
Referenced by Parse().
|
private |
Definition at line 6064 of file altium_pcb.cpp.
References LSET::AllCuMask(), altiumSetFootprintStackup(), PADSTACK::CUSTOM, BOARD_ITEM::GetLayerSet(), LSET::InternalCuMask(), m_board, m_components, pad, RECURSE, and BASE_SET::set().
Referenced by Parse().
Definition at line 6702 of file altium_pcb.cpp.
References CENTER_BOTTOM, CENTER_CENTER, CENTER_TOP, DEGREES_T, EDA_TEXT::GetEffectiveTextPenWidth(), EDA_TEXT::GetFont(), EDA_TEXT::GetTextBox(), EDA_TEXT::GetTextHeight(), EDA_TEXT::GetTextWidth(), EDA_TEXT::GetVertJustify(), BOX2< Vec >::GetWidth(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, GR_TEXT_V_ALIGN_BOTTOM, GR_TEXT_V_ALIGN_CENTER, GR_TEXT_V_ALIGN_TOP, ATEXT6::height, ATEXT6::isFrame, ATEXT6::isJustificationValid, ATEXT6::isMirrored, ATEXT6::isOffsetBorder, KIFONT::FONT::IsStroke(), LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, ATEXT6::margin_border_width, ATEXT6::position, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, RotatePoint(), ATEXT6::rotation, EDA_TEXT::SetHorizJustify(), EDA_TEXT::SetTextAngle(), EDA_TEXT::SetTextPos(), EDA_TEXT::SetVertJustify(), ATEXT6::text_offset_width, ATEXT6::textbox_rect_height, ATEXT6::textbox_rect_justification, ATEXT6::textbox_rect_width, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ConvertTexts6ToBoardItemOnLayer(), and ConvertTexts6ToFootprintItemOnLayer().
|
private |
Definition at line 6617 of file altium_pcb.cpp.
References _, CENTER_BOTTOM, CENTER_CENTER, CENTER_TOP, DEGREES_T, EDA_TEXT::GetFont(), EDA_TEXT::GetTextHeight(), EDA_TEXT::GetTextWidth(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, GR_TEXT_V_ALIGN_TOP, ATEXT6::isJustificationValid, ATEXT6::isMirrored, ATEXT6::isOffsetBorder, KIFONT::FONT::IsStroke(), LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, m_reporter, ATEXT6::margin_border_width, ATEXT6::position, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, RotatePoint(), ATEXT6::rotation, RPT_SEVERITY_DEBUG, PCB_TEXTBOX::SetBorderEnabled(), PCB_SHAPE::SetEnd(), EDA_TEXT::SetHorizJustify(), PCB_TEXTBOX::SetMarginBottom(), PCB_TEXTBOX::SetMarginLeft(), PCB_TEXTBOX::SetMarginRight(), PCB_TEXTBOX::SetMarginTop(), PCB_SHAPE::SetPosition(), PCB_TEXTBOX::SetTextAngle(), EDA_TEXT::SetVertJustify(), ATEXT6::text, ATEXT6::text_offset_width, ATEXT6::textbox_rect_height, ATEXT6::textbox_rect_justification, ATEXT6::textbox_rect_width, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ConvertTexts6ToBoardItemOnLayer(), and ConvertTexts6ToFootprintItemOnLayer().
|
private |
Definition at line 7113 of file altium_pcb.cpp.
References ALTIUM_KEEPOUT_COPPER, ALTIUM_KEEPOUT_SMD_PAD, ALTIUM_KEEPOUT_TH_PAD, ALTIUM_KEEPOUT_TRACK, ALTIUM_KEEPOUT_VIA, ZONE::SetDoNotAllowFootprints(), ZONE::SetDoNotAllowPads(), ZONE::SetDoNotAllowTracks(), ZONE::SetDoNotAllowVias(), and ZONE::SetDoNotAllowZoneFills().
Referenced by ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintItem(), HelperPcpShapeAsBoardKeepoutRegion(), and HelperPcpShapeAsFootprintKeepoutRegion().
|
private |
Definition at line 7102 of file altium_pcb.cpp.
References GetKicadLayersToIterate(), BASE_SET::set(), and ZONE::SetLayerSet().
Referenced by ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintItem(), HelperPcpShapeAsBoardKeepoutRegion(), HelperPcpShapeAsFootprintKeepoutRegion(), and ParsePolygons6Data().
|
private |
Definition at line 3458 of file altium_pcb.cpp.
References altiumCollectSchematicNetNames(), and m_schematicNetNames.
Referenced by Parse().
| void ALTIUM_PCB::Parse | ( | const ALTIUM_PCB_COMPOUND_FILE & | aAltiumPcbFile, |
| const std::map< ALTIUM_PCB_DIR, std::string > & | aFileMapping, | ||
| const std::map< std::string, UTF8 > * | aProperties = nullptr ) |
Definition at line 618 of file altium_pcb.cpp.
References _, ARC, ARCS6, BOARD6, BOARDREGIONS, CIRCLE, CLASSES6, COMPONENTBODIES6, COMPONENTS6, DIMENSIONS6, directory, VECTOR2< T >::EuclideanNorm(), EXTENDPRIMITIVEINFORMATION, FILE_HEADER, FILLS6, ALTIUM_COMPOUND_FILE::FindStream(), FormatPath(), BOARD_DESIGN_SETTINGS::GetAuxOrigin(), PCB_ARC::GetCenter(), BOARD_DESIGN_SETTINGS::GetGridOrigin(), BOX2< Vec >::GetHeight(), GetKiCadThreadPool(), PCB_SHAPE::GetPosition(), EDA_SHAPE::GetRadius(), PCB_ARC::GetRadius(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), EDA_SHAPE::GetShape(), BOX2< Vec >::GetWidth(), BOX2< Vec >::GetX(), BOX2< Vec >::GetY(), ALTIUM_BINARY_PARSER::HasParsingError(), HelperCreateTuningPatterns(), HelperFinishBoardOutline(), HelperFoldComponentCopperIntoPads(), HelperSetFootprintMountingStyles(), HelperSetFootprintStackups(), m_board, m_highest_pour_index, m_outer_plane, m_polygons, m_progressReporter, m_radialDimensions, m_reporter, m_totalCount, MapSchematicNetNames(), MODELS, MoveOpenCourtyardItems(), NETS6, PADS6, ParseArcs6Data(), ParseBoard6Data(), ParseBoardRegionsData(), ParseClasses6Data(), ParseComponents6Data(), ParseComponentsBodies6Data(), ParseDimensions6Data(), ParseExtendedPrimitiveInformationData(), ParseFileHeader(), ParseFills6Data(), ParseModelsData(), ParseNets6Data(), ParsePads6Data(), ParsePolygons6Data(), ParseRegions6Data(), ParseRules6Data(), ParseShapeBasedRegions6Data(), ParseSmartUnions6Data(), ParseTexts6Data(), ParseTracks6Data(), ParseUnionNamesData(), ParseVias6Data(), ParseWideStrings6Data(), PCB_ARC_T, PCB_SHAPE_T, pcbIUScale, POLYGONS6, radius, ALTIUM_BINARY_PARSER::Read(), REGIONS6, VECTOR2< T >::Resize(), RPT_SEVERITY_ERROR, RULES6, BOARD_DESIGN_SETTINGS::SetAuxOrigin(), BOARD_DESIGN_SETTINGS::SetGridOrigin(), SHAPEBASEDREGIONS6, SMARTUNIONS, TEXTS6, THROW_IO_ERROR, tp, TRACKS6, UNIONNAMES, VIAS6, and WIDESTRINGS6.
Referenced by LoadAltiumBoard().
|
private |
Definition at line 4454 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, checkpoint(), AARC6::component, ConvertArcs6ToBoardItem(), ConvertArcs6ToFootprintItem(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperGetFootprint(), m_progressReporter, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 1625 of file altium_pcb.cpp.
References _, B_Cu, LAYER_RANGE::begin(), ABOARD6::board_vertices, BOTTOM_SOLDER, BS_ITEM_TYPE_COPPER, BS_ITEM_TYPE_DIELECTRIC, BOARD_STACKUP::BuildBoardThicknessFromStackup(), BOARD_STACKUP::BuildDefaultStackupList(), checkpoint(), ABOARD6_LAYER_STACKUP::copperthick, ABOARD6_LAYER_STACKUP::dielectricconst, ABOARD6_LAYER_STACKUP::dielectriclosstangent, ABOARD6_LAYER_STACKUP::dielectricmaterial, ABOARD6_LAYER_STACKUP::dielectricthick, ABOARD6::discardedVertices, end, F_Cu, GetKicadLayer(), BOARD_STACKUP::GetList(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), BOARD_DESIGN_SETTINGS::GetStackupDescriptor(), HelperBuildPadstackLayerIndex(), HelperFillMechanicalLayerAssignments(), HelperShapeLineChainFromAltiumVertices(), IsAltiumLayerAPlane(), ABOARD6_LAYER_STACKUP::layerId, LT_JUMPER, LT_POWER, m_board, m_boardOutline, BOARD_DESIGN_SETTINGS::m_HasStackup, m_layermap, m_progressReporter, m_reporter, MECHANICAL_1, MECHANICAL_16, ABOARD6_LAYER_STACKUP::name, ABOARD6_LAYER_STACKUP::nextId, NotSpecifiedPrm(), ABOARD6::origin, remapUnsureLayers(), BOARD_STACKUP::RemoveAll(), RPT_SEVERITY_ERROR, ABOARD6::stackup, THROW_IO_ERROR, TOP_LAYER, TOP_OVERLAY, V7_MECHANICAL_17, and V7_MECHANICAL_LAST.
Referenced by Parse().
|
private |
Definition at line 3822 of file altium_pcb.cpp.
References _, checkpoint(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), m_progressReporter, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 2532 of file altium_pcb.cpp.
References _, checkpoint(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperAssignNetclassesToNets(), ACLASS6::kind, m_board, m_progressReporter, m_reporter, ACLASS6::name, name, ACLASS6::names, NET_CLASS, RPT_SEVERITY_ERROR, SchematicCasedNetName(), and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 2602 of file altium_pcb.cpp.
References _, AltiumToKiCadLibID(), AltiumUniqueIdToKiid(), APPEND, B_Cu, checkpoint(), ACOMPONENT6::commenton, F_Cu, ALTIUM_BINARY_PARSER::GetRemainingBytes(), ACOMPONENT6::height, ACOMPONENT6::layer, ACOMPONENT6::locked, m_board, m_components, m_progressReporter, ACOMPONENT6::nameon, path, ACOMPONENT6::pattern, ACOMPONENT6::position, ACOMPONENT6::rotation, ACOMPONENT6::sourcedesignator, ACOMPONENT6::sourcefootprintlibrary, ACOMPONENT6::sourceHierachicalPath, ACOMPONENT6::sourceUniqueID, THROW_IO_ERROR, and TOP_LAYER.
Referenced by Parse().
|
private |
Definition at line 2760 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, ACOMPONENTBODY6::body_opacity_3d, ACOMPONENTBODY6::body_projection, checkpoint(), ACOMPONENTBODY6::component, ADVANCED_CFG::GetCfg(), GetKiCadThreadPool(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperEmbedModel(), FOOTPRINT::IsFlipped(), KiROUND(), m_board, m_components, ALTIUM_EMBEDDED_MODEL_DATA::m_data, m_EmbeddedModels, FP_3DMODEL::m_Filename, ADVANCED_CFG::m_ImportSkipComponentBodies, ALTIUM_EMBEDDED_MODEL_DATA::m_modelname, FP_3DMODEL::m_Offset, FP_3DMODEL::m_Opacity, m_progressReporter, m_reporter, FP_3DMODEL::m_Rotation, ACOMPONENTBODY6::modelId, ACOMPONENTBODY6::modelIsEmbedded, ACOMPONENTBODY6::modelPosition, ACOMPONENTBODY6::modelRotation, FOOTPRINT::Models(), normalizeAngleDegrees(), orientation(), pcbIUScale, RotatePoint(), ACOMPONENTBODY6::rotation, RPT_SEVERITY_ERROR, THROW_IO_ERROR, THROW_IO_ERRORF, tp, VECTOR2< T >::x, VECTOR3< T >::x, VECTOR2< T >::y, VECTOR3< T >::y, and VECTOR3< T >::z.
Referenced by Parse().
|
private |
Definition at line 3228 of file altium_pcb.cpp.
References _, ANGULAR, BASELINE, CENTER, checkpoint(), DATUM, ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperParseDimensions6Center(), HelperParseDimensions6Leader(), HelperParseDimensions6Linear(), HelperParseDimensions6Radial(), ADIMENSION6::kind, LEADER, LINEAR, LINEAR_DIAMETER, m_progressReporter, m_reporter, RADIAL, RADIAL_DIAMETER, RPT_SEVERITY_INFO, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 1603 of file altium_pcb.cpp.
References _, checkpoint(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), m_extendedPrimitiveInformationMaps, m_progressReporter, AEXTENDED_PRIMITIVE_INFORMATION::primitiveIndex, AEXTENDED_PRIMITIVE_INFORMATION::primitiveObjectId, and THROW_IO_ERROR.
Referenced by Parse(), ALTIUM_PCB_IMPORT_FIXTURE::parseExtendedPrimitiveInformation(), and ParseFootprint().
|
private |
Definition at line 1585 of file altium_pcb.cpp.
References ALTIUM_BINARY_PARSER::ReadAndSetSubrecordLength(), and ALTIUM_BINARY_PARSER::ReadWxString().
Referenced by Parse().
|
private |
Definition at line 6866 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, checkpoint(), AFILL6::component, ConvertFills6ToBoardItem(), ConvertFills6ToFootprintItem(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperGetFootprint(), m_progressReporter, and THROW_IO_ERROR.
Referenced by Parse().
| std::unique_ptr< FOOTPRINT > ALTIUM_PCB::ParseFootprint | ( | ALTIUM_PCB_COMPOUND_FILE & | altiumLibFile, |
| const wxString & | aFootprintName ) |
Definition at line 1136 of file altium_pcb.cpp.
References _, PAD::AddPrimitive(), PADSTACK::ALL_LAYERS, LSET::AllCuMask(), ALTIUM_NET_UNCONNECTED, ALTIUM_POLYGON_NONE, altiumIsolatePadLayer(), altiumMakePadLayerCustom(), altiumStackupCopper(), AltiumToKiCadLibID(), ARC, ARC_HIGH_DEF, B_Cu, ConvertArcs6ToFootprintItem(), ConvertComponentBody6ToFootprintItem(), ConvertFills6ToFootprintItem(), ConvertPads6ToFootprintItem(), ConvertShapeBasedRegions6ToFootprintCopper(), ConvertShapeBasedRegions6ToFootprintItem(), ConvertTexts6ToFootprintItem(), ConvertTracks6ToFootprintItem(), ConvertVias6ToFootprintItem(), COPPER, copy, CUSTOM, delta, ERROR_INSIDE, F_Cu, FILL, ALTIUM_PCB_COMPOUND_FILE::FindLibFootprintDirName(), ALTIUM_COMPOUND_FILE::FindStream(), alg::for_all_pairs(), FormatPath(), GetKicadLayer(), PAD::GetLayerSet(), PAD::GetLocalSolderMaskMargin(), PAD::GetLocalSolderPasteMargin(), PAD::GetOrientation(), PAD::GetPrimitives(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperFillMechanicalLayerAssignments(), HelperFoldPendingCopper(), AREGION6::is_keepout, IsCopperLayer(), PAD::IsOnLayer(), AREGION6::kind, AARC6::layer, AFILL6::layer, AREGION6::layer, ATRACK6::layer, m_board, m_extendedPrimitiveInformationMaps, m_reporter, m_unicodeStrings, MODEL, PAD, pad, ParseExtendedPrimitiveInformationData(), pcbIUScale, ALTIUM_BINARY_PARSER::Peek(), AREGION6::polygon, ALTIUM_BINARY_PARSER::ReadAndSetSubrecordLength(), ALTIUM_BINARY_PARSER::ReadProperties(), ALTIUM_PROPS_UTILS::ReadString(), REGION, RPT_SEVERITY_ERROR, BASE_SET::set(), PAD::SetLayerSet(), PAD::SetLocalSolderMaskMargin(), PAD::SetLocalSolderPasteMargin(), PAD::ShapePos(), ALTIUM_BINARY_PARSER::SkipSubrecord(), ALIBRARY::stackup, TEXT, text, THROW_IO_ERRORF, TRACK, VIA, and via.
Referenced by PCB_IO_ALTIUM_DESIGNER::FootprintLoad().
|
private |
Definition at line 3307 of file altium_pcb.cpp.
References _, checkpoint(), ALTIUM_COMPOUND_FILE::FindStream(), FormatPath(), ALTIUM_COMPOUND_FILE::GetCompoundFileReader(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), AMODEL::id, m_EmbeddedModels, m_progressReporter, m_reporter, AMODEL::name, name, AMODEL::rotation, RPT_SEVERITY_ERROR, THROW_IO_ERROR, and AMODEL::z_offset.
Referenced by Parse().
|
private |
Definition at line 3495 of file altium_pcb.cpp.
References _, AltiumUnnamedNetName(), APPEND, checkpoint(), NETINFO_ITEM::GetNetCode(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), m_altiumToKicadNetcodes, m_board, m_progressReporter, m_reporter, ANET6::name, RPT_SEVERITY_WARNING, SchematicCasedNetName(), and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 4727 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, checkpoint(), APAD6::component, ConvertPads6ToBoardItem(), ConvertPads6ToFootprintItem(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperGetFootprint(), m_progressReporter, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 3536 of file altium_pcb.cpp.
References _, ANGLE_45, APPEND, ARC_HIGH_DEF, CHAMFER_ACUTE_CORNERS, checkpoint(), CLEARANCE, clearance, ARULE6::clearanceGap, DEGREE_45, DIAGONAL_EDGE, DIRECT, APOLYGON6::discardedVertices, FULL, ZONE::GetDefaultHatchPitch(), BOX2< Vec >::GetHeight(), GetKicadLayer(), GetNetCode(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), GetRuleForPolygon(), BOX2< Vec >::GetWidth(), APOLYGON6::gridsize, HATCH_PATTERN, APOLYGON6::hatchstyle, HelperSetZoneLayers(), HelperShapeLineChainFromAltiumVertices(), SHAPE_POLY_SET::Inflate(), IsAltiumLayerAPlane(), APOLYGON6::layer, LayerName(), APOLYGON6::locked, LT_MIXED, LT_POWER, LT_SIGNAL, m_board, m_highest_pour_index, m_outer_plane, m_polygons, m_progressReporter, m_reporter, APOLYGON6::net, NONE, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PLANE_CLEARANCE, ARULE6::planeclearanceClearance, SHAPE_LINE_CHAIN::PointCount(), POLYGON_CONNECT, ARULE6::polygonconnectAirgapwidth, ARULE6::polygonconnectReliefconductorwidth, ARULE6::polygonconnectStyle, APOLYGON6::pourindex, RELIEF, RPT_SEVERITY_ERROR, SOLID, THERMAL, THROW_IO_ERROR, APOLYGON6::trackwidth, UNKNOWN, and APOLYGON6::vertices.
Referenced by Parse().
|
private |
Definition at line 4384 of file altium_pcb.cpp.
References _, SHAPE_POLY_SET::AddHole(), SHAPE_POLY_SET::AddOutline(), ALTIUM_POLYGON_NONE, SHAPE_LINE_CHAIN::Append(), SHAPE_POLY_SET::BooleanAdd(), checkpoint(), SHAPE_POLY_SET::Fracture(), ZONE::GetFill(), GetKicadLayer(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), ZONE::HasFilledPolysForLayer(), AREGION6::holes, AREGION6::layer, m_polygons, m_progressReporter, AREGION6::outline, AREGION6::polygon, ALTIUM_VERTICE::position, SHAPE_LINE_CHAIN::SetClosed(), ZONE::SetFilledPolysList(), ZONE::SetIsFilled(), ZONE::SetNeedRefill(), THROW_IO_ERROR, THROW_IO_ERRORF, and UNDEFINED_LAYER.
Referenced by Parse().
|
private |
Definition at line 3713 of file altium_pcb.cpp.
References _, ApplyAltiumNetclassRules(), BOARD_OUTLINE_CLEARANCE, checkpoint(), CLEARANCE, ARULE6::clearanceGap, GetAltiumNetclassScopeName(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), GetRuleDefault(), HelperAssignNetclassesToNets(), HOLE_SIZE, HOLE_TO_HOLE_CLEARANCE, ARULE6::holeWidth, ARULE6::kind, m_board, m_progressReporter, m_reporter, m_rules, ARULE6::minHoleWidth, ARULE6::minLimit, ARULE6::minWidth, PASTE_MASK_EXPANSION, ARULE6::pastemaskExpansion, ARULE6::preferredWidth, ROUTING_VIAS, RPT_SEVERITY_INFO, SOLDER_MASK_EXPANSION, ARULE6::soldermaskExpansion, THROW_IO_ERROR, WIDTH, and ARULE6::width.
Referenced by Parse().
|
private |
Definition at line 3842 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, ALTIUM_NET_UNCONNECTED, ALTIUM_POLYGON_NONE, BOARD_CUTOUT, checkpoint(), AREGION6::component, ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintCopper(), ConvertShapeBasedRegions6ToFootprintItem(), COPPER, ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperGetFootprint(), AREGION6::is_keepout, AREGION6::kind, m_progressReporter, AREGION6::net, AREGION6::polygon, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 5890 of file altium_pcb.cpp.
References checkpoint(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), ASMARTUNION6::is_tuning, m_tuningUnions, THROW_IO_ERROR, and ASMARTUNION6::unionindex.
Referenced by Parse().
|
private |
Definition at line 6387 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, checkpoint(), ATEXT6::component, ConvertTexts6ToBoardItem(), ConvertTexts6ToFootprintItem(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperGetFootprint(), m_progressReporter, m_unicodeStrings, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 5641 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, checkpoint(), ATRACK6::component, ConvertTracks6ToBoardItem(), ConvertTracks6ToFootprintItem(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), HelperGetFootprint(), m_progressReporter, and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 5909 of file altium_pcb.cpp.
References ALTIUM_BINARY_PARSER::GetRemainingBytes(), m_unionNames, ALTIUM_BINARY_PARSER::Read(), ALTIUM_BINARY_PARSER::ReadWideStringTable(), and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 5499 of file altium_pcb.cpp.
References _, ALTIUM_COMPONENT_NONE, ALTIUM_NET_UNCONNECTED, BOTTOM_LAYER, checkpoint(), AVIA6::component, ConvertVias6ToBoardItem(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), AVIA6::layer_end, AVIA6::layer_start, m_components, m_pendingComponentVias, m_progressReporter, AVIA6::net, THROW_IO_ERROR, and TOP_LAYER.
Referenced by Parse().
|
private |
Definition at line 5876 of file altium_pcb.cpp.
References _, ALTIUM_BINARY_PARSER::GetRemainingBytes(), m_progressReporter, m_unicodeStrings, ALTIUM_BINARY_PARSER::ReadWideStringTable(), and THROW_IO_ERROR.
Referenced by Parse().
|
private |
Definition at line 1859 of file altium_pcb.cpp.
References _, LSET::AllBoardTechMask(), INPUT_LAYER_DESC::AutoMapLayer, B_CrtYd, B_Fab, BACKGROUND, BOTTOM_LAYER, CONNECTIONS, DRC_ERROR_MARKERS, F_CrtYd, F_Fab, GetKicadLayer(), IsAltiumLayerAPlane(), IsLayerNameAssembly(), IsLayerNameCourtyard(), IsLayerNameTopSide(), ABOARD6_LAYER_STACKUP::layerId, m_board, m_layermap, m_layerMappingHandler, m_layerNames, m_reporter, MULTI_LAYER, INPUT_LAYER_DESC::Name, ABOARD6_LAYER_STACKUP::name, name, PAD_HOLES, INPUT_LAYER_DESC::PermittedLayers, INPUT_LAYER_DESC::Required, RPT_SEVERITY_WARNING, SELECTIONS, TOP_LAYER, UNDEFINED_LAYER, LSET::UserDefinedLayersMask(), LSET::UserMask(), VIA_HOLES, VISIBLE_GRID_1, and VISIBLE_GRID_2.
Referenced by ParseBoard6Data().
|
private |
Definition at line 3484 of file altium_pcb.cpp.
References m_schematicNetNames.
Referenced by ParseClasses6Data(), and ParseNets6Data().
|
friend |
Definition at line 156 of file altium_pcb.h.
References ALTIUM_PCB_IMPORT_FIXTURE.
Referenced by ALTIUM_PCB_IMPORT_FIXTURE.
|
private |
Definition at line 403 of file altium_pcb.h.
Referenced by ALTIUM_PCB_IMPORT_FIXTURE::convertConnectedArc(), GetNetCode(), ALTIUM_PCB_IMPORT_FIXTURE::getNetCode(), and ParseNets6Data().
|
private |
Definition at line 392 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), ConvertArcs6ToBoardItem(), ConvertArcs6ToBoardItemOnLayer(), ConvertBarcodes6ToBoardItemOnLayer(), ConvertFills6ToBoardItemOnLayer(), ConvertPads6ToBoardItem(), ConvertPads6ToBoardItemOnNonCopper(), ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToBoardItemOnLayer(), ConvertTexts6ToBoardItemOnLayer(), ConvertTracks6ToBoardItem(), ConvertTracks6ToBoardItemOnLayer(), ConvertVias6ToBoardItem(), ConvertVias6ToFootprintItem(), GetKicadLayersToIterate(), HelperAssignNetclassesToNets(), HelperCreateBoardOutline(), HelperCreateTuningPatterns(), HelperFinishBoardOutline(), HelperFoldComponentCopperIntoPads(), HelperParseDimensions6Center(), HelperParseDimensions6Datum(), HelperParseDimensions6Leader(), HelperParseDimensions6Linear(), HelperParseDimensions6Radial(), HelperPcpShapeAsBoardKeepoutRegion(), HelperSetFootprintStackups(), Parse(), ParseBoard6Data(), ParseClasses6Data(), ParseComponents6Data(), ParseComponentsBodies6Data(), ParseFootprint(), ParseNets6Data(), ParsePolygons6Data(), ParseRules6Data(), and remapUnsureLayers().
|
private |
Definition at line 399 of file altium_pcb.h.
Referenced by ConvertShapeBasedRegions6ToBoardItem(), and HelperFinishBoardOutline().
|
private |
Definition at line 398 of file altium_pcb.h.
Referenced by HelperFillMechanicalLayerAssignments(), HelperFinishBoardOutline(), and ParseBoard6Data().
|
private |
Definition at line 393 of file altium_pcb.h.
Referenced by HelperFoldComponentCopperIntoPads(), HelperGetFootprint(), HelperSetFootprintMountingStyles(), HelperSetFootprintStackups(), ParseComponents6Data(), ParseComponentsBodies6Data(), and ParseVias6Data().
|
private |
Definition at line 437 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), and checkpoint().
|
private |
Definition at line 409 of file altium_pcb.h.
Referenced by ParseComponentsBodies6Data(), and ParseModelsData().
|
private |
Definition at line 412 of file altium_pcb.h.
Referenced by ConvertShapeBasedRegions6ToFootprintItemOnLayer(), HelperGetSolderAndPasteMaskExpansions(), ParseExtendedPrimitiveInformationData(), and ParseFootprint().
|
private |
for footprint library loading error reporting
Definition at line 442 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), ConvertPads6ToFootprintItemOnCopper(), ConvertPads6ToFootprintItemOnNonCopper(), and ConvertShapeBasedRegions6ToFootprintItem().
|
private |
Altium stores pour order across all layers.
Definition at line 445 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), Parse(), and ParsePolygons6Data().
|
private |
Definition at line 438 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), and checkpoint().
|
private |
Definition at line 405 of file altium_pcb.h.
Referenced by GetKicadLayer(), HelperBuildPadstackLayerIndex(), HelperFillMechanicalLayerAssignments(), ParseBoard6Data(), and remapUnsureLayers().
|
private |
Definition at line 432 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), and remapUnsureLayers().
|
private |
Definition at line 406 of file altium_pcb.h.
Referenced by remapUnsureLayers().
|
private |
for footprint library loading error reporting
Definition at line 441 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), ConvertPads6ToFootprintItemOnCopper(), ConvertPads6ToFootprintItemOnNonCopper(), and ConvertShapeBasedRegions6ToFootprintItem().
|
private |
Definition at line 430 of file altium_pcb.h.
Referenced by Parse(), and ParsePolygons6Data().
|
private |
Definition at line 400 of file altium_pcb.h.
Referenced by HelperCreateBoardOutline(), and HelperFinishBoardOutline().
|
private |
Definition at line 401 of file altium_pcb.h.
Referenced by HelperCreateBoardOutline(), and HelperFinishBoardOutline().
|
private |
Definition at line 407 of file altium_pcb.h.
Referenced by HelperBuildPadstackLayerIndex(), and HelperGetPadstackLayerIndex().
|
private |
Definition at line 427 of file altium_pcb.h.
Referenced by HelperDeferComponentCopper(), HelperFoldPendingCopper(), and HelperPlaceUnfoldedCopper().
Definition at line 428 of file altium_pcb.h.
Referenced by HelperFoldComponentCopperIntoPads(), and ParseVias6Data().
|
private |
Definition at line 394 of file altium_pcb.h.
Referenced by ConvertArcs6ToBoardItem(), ConvertTracks6ToBoardItem(), Parse(), ParsePolygons6Data(), and ParseRegions6Data().
|
private |
optional; may be nullptr
Definition at line 434 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), checkpoint(), ConvertComponentBody6ToFootprintItem(), Parse(), ParseArcs6Data(), ParseBoard6Data(), ParseBoardRegionsData(), ParseClasses6Data(), ParseComponents6Data(), ParseComponentsBodies6Data(), ParseDimensions6Data(), ParseExtendedPrimitiveInformationData(), ParseFills6Data(), ParseModelsData(), ParseNets6Data(), ParsePads6Data(), ParsePolygons6Data(), ParseRegions6Data(), ParseRules6Data(), ParseShapeBasedRegions6Data(), ParseTexts6Data(), ParseTracks6Data(), ParseVias6Data(), and ParseWideStrings6Data().
|
private |
Definition at line 395 of file altium_pcb.h.
Referenced by HelperParseDimensions6Radial(), and Parse().
|
private |
optional; may be nullptr
Definition at line 435 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), ConvertComponentBody6ToFootprintItem(), ConvertPads6ToBoardItemOnNonCopper(), ConvertPads6ToFootprintItemOnCopper(), ConvertPads6ToFootprintItemOnNonCopper(), ConvertShapeBasedRegions6ToBoardItem(), ConvertShapeBasedRegions6ToFootprintItem(), ConvertTracks6ToBoardItem(), ConvertVias6ToBoardItem(), HelperCreateTuningPatterns(), HelperFinishBoardOutline(), HelperGetKeepoutRestrictions(), HelperParseDimensions6Center(), HelperParseDimensions6Datum(), HelperParseDimensions6Leader(), HelperParseDimensions6Linear(), HelperParseDimensions6Radial(), HelperParsePad6NonCopper(), HelperSetTextboxAlignmentAndPos(), Parse(), ParseBoard6Data(), ParseClasses6Data(), ParseComponentsBodies6Data(), ParseDimensions6Data(), ParseFootprint(), ParseModelsData(), ParseNets6Data(), ParsePolygons6Data(), ParseRules6Data(), and remapUnsureLayers().
|
private |
Definition at line 410 of file altium_pcb.h.
Referenced by GetRule(), GetRuleDefault(), GetRuleForPolygon(), and ParseRules6Data().
|
private |
Definition at line 404 of file altium_pcb.h.
Referenced by MapSchematicNetNames(), and SchematicCasedNetName().
|
private |
special strings in text that KiCad has no variable for
Definition at line 436 of file altium_pcb.h.
Referenced by ConvertTexts6ToBoardItemOnLayer(), ConvertTexts6ToFootprintItemOnLayer(), and GetSpecialStrings().
|
private |
for progress reporting
Definition at line 439 of file altium_pcb.h.
Referenced by ALTIUM_PCB(), checkpoint(), and Parse().
|
private |
Definition at line 414 of file altium_pcb.h.
Referenced by HelperCreateTuningPatterns(), and ParseSmartUnions6Data().
|
private |
Definition at line 402 of file altium_pcb.h.
Referenced by ParseFootprint(), ParseTexts6Data(), and ParseWideStrings6Data().
|
private |
Definition at line 415 of file altium_pcb.h.
Referenced by HelperCreateTuningPatterns(), and ParseUnionNamesData().
|
private |
Definition at line 416 of file altium_pcb.h.
Referenced by ConvertArcs6ToBoardItemOnLayer(), ConvertTracks6ToBoardItemOnLayer(), and HelperCreateTuningPatterns().