KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALTIUM_PCB Class Reference

#include <altium_pcb.h>

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)
 
FOOTPRINTParseFootprint (ALTIUM_PCB_COMPOUND_FILE &altiumLibFile, const wxString &aFootprintName)
 

Private Member Functions

void checkpoint ()
 
PCB_LAYER_ID GetKicadLayer (ALTIUM_LAYER aAltiumLayer) const
 
std::vector< PCB_LAYER_IDGetKicadLayersToIterate (ALTIUM_LAYER aAltiumLayer) const
 
int GetNetCode (uint16_t aId) const
 
const ARULE6GetRule (ALTIUM_RULE_KIND aKind, const wxString &aName) const
 
const ARULE6GetRuleDefault (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 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 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 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 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)
 
void ConvertShapeBasedRegions6ToFootprintItem (FOOTPRINT *aFootprint, const AREGION6 &aElem, const int aPrimitiveIndex)
 
void ConvertShapeBasedRegions6ToBoardItemOnLayer (const AREGION6 &aElem, PCB_LAYER_ID aLayer)
 
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 HelperCreateBoardOutline (const std::vector< ALTIUM_VERTICE > &aVertices)
 
void HelperSetZoneLayers (ZONE &aZone, const ALTIUM_LAYER aAltiumLayer)
 
void HelperSetZoneKeepoutRestrictions (ZONE &aZone, const uint8_t aKeepoutRestrictions)
 
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)
 
std::vector< std::pair< PCB_LAYER_ID, int > > HelperGetSolderAndPasteMaskExpansions (const ALTIUM_RECORD aType, const int aPrimitiveIndex, const ALTIUM_LAYER aAltiumLayer)
 
FOOTPRINTHelperGetFootprint (uint16_t aComponent) const
 
void remapUnsureLayers (std::vector< ABOARD6_LAYER_STACKUP > &aStackup)
 

Private Attributes

BOARDm_board
 
std::vector< FOOTPRINT * > m_components
 
std::vector< ZONE * > m_polygons
 
std::vector< PCB_DIM_RADIAL * > m_radialDimensions
 
std::map< uint32_t, wxString > m_unicodeStrings
 
std::vector< int > m_altiumToKicadNetcodes
 
std::map< ALTIUM_LAYER, PCB_LAYER_IDm_layermap
 
std::map< ALTIUM_LAYER, wxString > m_layerNames
 
std::map< wxString, ALTIUM_EMBEDDED_MODEL_DATAm_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::map< ALTIUM_LAYER, ZONE * > m_outer_plane
 
LAYER_MAPPING_HANDLER m_layerMappingHandler
 
PROGRESS_REPORTERm_progressReporter
 optional; may be nullptr
 
REPORTERm_reporter
 optional; may be nullptr
 
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.
 

Detailed Description

Definition at line 120 of file altium_pcb.h.

Constructor & Destructor Documentation

◆ ALTIUM_PCB()

ALTIUM_PCB::ALTIUM_PCB ( BOARD aBoard,
PROGRESS_REPORTER aProgressReporter,
LAYER_MAPPING_HANDLER aLayerMappingHandler,
REPORTER aReporter = nullptr,
const wxString &  aLibrary = wxEmptyString,
const wxString &  aFootprintName = wxEmptyString 
)
explicit

◆ ~ALTIUM_PCB()

ALTIUM_PCB::~ALTIUM_PCB ( )

Definition at line 294 of file altium_pcb.cpp.

Member Function Documentation

◆ checkpoint()

◆ ConvertArcs6ToBoardItem()

◆ ConvertArcs6ToBoardItemOnLayer()

◆ ConvertArcs6ToFootprintItem()

◆ ConvertArcs6ToFootprintItemOnLayer()

void ALTIUM_PCB::ConvertArcs6ToFootprintItemOnLayer ( FOOTPRINT aFootprint,
const AARC6 aElem,
PCB_LAYER_ID  aLayer 
)
private

Definition at line 3010 of file altium_pcb.cpp.

References FOOTPRINT::Add(), ConvertArcs6ToPcbShape(), and AARC6::width.

Referenced by ConvertArcs6ToFootprintItem().

◆ ConvertArcs6ToPcbShape()

◆ ConvertComponentBody6ToFootprintItem()

◆ ConvertFills6ToBoardItem()

◆ ConvertFills6ToBoardItemOnLayer()

void ALTIUM_PCB::ConvertFills6ToBoardItemOnLayer ( const AFILL6 aElem,
PCB_LAYER_ID  aLayer 
)
private

◆ ConvertFills6ToFootprintItem()

◆ ConvertFills6ToFootprintItemOnLayer()

◆ ConvertPads6ToBoardItem()

void ALTIUM_PCB::ConvertPads6ToBoardItem ( const APAD6 aElem)
private

◆ ConvertPads6ToBoardItemOnNonCopper()

void ALTIUM_PCB::ConvertPads6ToBoardItemOnNonCopper ( const APAD6 aElem)
private

◆ ConvertPads6ToFootprintItem()

void ALTIUM_PCB::ConvertPads6ToFootprintItem ( FOOTPRINT aFootprint,
const APAD6 aElem 
)
private

◆ ConvertPads6ToFootprintItemOnCopper()

◆ ConvertPads6ToFootprintItemOnNonCopper()

void ALTIUM_PCB::ConvertPads6ToFootprintItemOnNonCopper ( FOOTPRINT aFootprint,
const APAD6 aElem 
)
private

◆ ConvertShapeBasedRegions6ToBoardItem()

◆ ConvertShapeBasedRegions6ToBoardItemOnLayer()

◆ ConvertShapeBasedRegions6ToFootprintItem()

◆ ConvertShapeBasedRegions6ToFootprintItemOnLayer()

◆ ConvertTexts6ToBoardItem()

void ALTIUM_PCB::ConvertTexts6ToBoardItem ( const ATEXT6 aElem)
private

◆ ConvertTexts6ToBoardItemOnLayer()

◆ ConvertTexts6ToEdaTextSettings()

◆ ConvertTexts6ToFootprintItem()

void ALTIUM_PCB::ConvertTexts6ToFootprintItem ( FOOTPRINT aFootprint,
const ATEXT6 aElem 
)
private

◆ ConvertTexts6ToFootprintItemOnLayer()

◆ ConvertTracks6ToBoardItem()

◆ ConvertTracks6ToBoardItemOnLayer()

void ALTIUM_PCB::ConvertTracks6ToBoardItemOnLayer ( const ATRACK6 aElem,
PCB_LAYER_ID  aLayer 
)
private

◆ ConvertTracks6ToFootprintItem()

◆ ConvertTracks6ToFootprintItemOnLayer()

void ALTIUM_PCB::ConvertTracks6ToFootprintItemOnLayer ( FOOTPRINT aFootprint,
const ATRACK6 aElem,
PCB_LAYER_ID  aLayer 
)
private

Definition at line 4010 of file altium_pcb.cpp.

References FOOTPRINT::Add(), ATRACK6::end, ATRACK6::start, and ATRACK6::width.

Referenced by ConvertTracks6ToFootprintItem().

◆ ConvertVias6ToFootprintItem()

◆ GetKicadLayer()

◆ GetKicadLayersToIterate()

◆ GetNetCode()

◆ GetRule()

const ARULE6 * ALTIUM_PCB::GetRule ( ALTIUM_RULE_KIND  aKind,
const wxString &  aName 
) const
private

Definition at line 882 of file altium_pcb.cpp.

References m_rules, and ARULE6::name.

Referenced by ParsePolygons6Data().

◆ GetRuleDefault()

const ARULE6 * ALTIUM_PCB::GetRuleDefault ( ALTIUM_RULE_KIND  aKind) const
private

Definition at line 898 of file altium_pcb.cpp.

References m_rules, ARULE6::scope1expr, and ARULE6::scope2expr.

Referenced by ParsePolygons6Data(), and ParseRules6Data().

◆ HelperCreateBoardOutline()

◆ HelperGetFootprint()

FOOTPRINT * ALTIUM_PCB::HelperGetFootprint ( uint16_t  aComponent) const
private

◆ HelperGetSolderAndPasteMaskExpansions()

◆ HelperParseDimensions6Center()

◆ HelperParseDimensions6Datum()

void ALTIUM_PCB::HelperParseDimensions6Datum ( const ADIMENSION6 aElem)
private

◆ HelperParseDimensions6Leader()

◆ HelperParseDimensions6Linear()

void ALTIUM_PCB::HelperParseDimensions6Linear ( const ADIMENSION6 aElem)
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 1479 of file altium_pcb.cpp.

References _, BOARD::Add(), ADIMENSION6::angle, BOLD_FACTOR, Eco1_User, VECTOR2< T >::EuclideanNorm(), GetKicadLayer(), SEG::Intersect(), ADIMENSION6::layer, ADIMENSION6::linewidth, m_board, m_reporter, PCB_DIM_ALIGNED_T, ADIMENSION6::referencePoint, REPORTER::Report(), RPT_SEVERITY_INFO, ADIMENSION6::textbold, ADIMENSION6::textheight, ADIMENSION6::textitalic, ADIMENSION6::textlinewidth, ADIMENSION6::textprecision, ADIMENSION6::textprefix, ADIMENSION6::textsuffix, ADIMENSION6::textunit, THROW_IO_ERROR, UNDEFINED_LAYER, VECTOR2< T >::x, ADIMENSION6::xy1, and VECTOR2< T >::y.

Referenced by ParseDimensions6Data().

◆ HelperParseDimensions6Radial()

◆ HelperParsePad6NonCopper()

◆ HelperPcpShapeAsBoardKeepoutRegion()

void ALTIUM_PCB::HelperPcpShapeAsBoardKeepoutRegion ( const PCB_SHAPE aShape,
const ALTIUM_LAYER  aAltiumLayer,
const uint8_t  aKeepoutRestrictions 
)
private

◆ HelperPcpShapeAsFootprintKeepoutRegion()

void ALTIUM_PCB::HelperPcpShapeAsFootprintKeepoutRegion ( FOOTPRINT aFootprint,
const PCB_SHAPE aShape,
const ALTIUM_LAYER  aAltiumLayer,
const uint8_t  aKeepoutRestrictions 
)
private

◆ HelperSetZoneKeepoutRestrictions()

◆ HelperSetZoneLayers()

◆ Parse()

void ALTIUM_PCB::Parse ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const std::map< ALTIUM_PCB_DIR, std::string > &  aFileMapping 
)

Definition at line 317 of file altium_pcb.cpp.

References _, directory, BOARD::Drawings(), VECTOR2< T >::EuclideanNorm(), ALTIUM_COMPOUND_FILE::FindStream(), FormatPath(), BOARD_DESIGN_SETTINGS::GetAuxOrigin(), BOARD::GetBoardEdgesBoundingBox(), PCB_ARC::GetCenter(), BOARD::GetDesignSettings(), BOARD_DESIGN_SETTINGS::GetGridOrigin(), BOX2< Vec >::GetHeight(), PAGE_INFO::GetHeightIU(), BOARD::GetPageSettings(), PCB_SHAPE::GetPosition(), EDA_SHAPE::GetRadius(), PCB_ARC::GetRadius(), ALTIUM_BINARY_PARSER::GetRemainingBytes(), EDA_SHAPE::GetShape(), BOX2< Vec >::GetWidth(), PAGE_INFO::GetWidthIU(), BOX2< Vec >::GetX(), BOX2< Vec >::GetY(), ALTIUM_BINARY_PARSER::HasParsingError(), EDA_IU_SCALE::IU_PER_MILS, m_board, m_highest_pour_index, m_outer_plane, m_polygons, m_progressReporter, m_radialDimensions, m_reporter, m_totalCount, BOARD::Move(), ParseArcs6Data(), ParseBoard6Data(), ParseBoardRegionsData(), ParseClasses6Data(), ParseComponents6Data(), ParseComponentsBodies6Data(), ParseDimensions6Data(), ParseExtendedPrimitiveInformationData(), ParseFileHeader(), ParseFills6Data(), ParseModelsData(), ParseNets6Data(), ParsePads6Data(), ParsePolygons6Data(), ParseRegions6Data(), ParseRules6Data(), ParseShapeBasedRegions6Data(), ParseTexts6Data(), ParseTracks6Data(), ParseVias6Data(), ParseWideStrings6Data(), PCB_ARC_T, PCB_SHAPE_T, pcbIUScale, SHAPE_POLY_SET::PM_STRICTLY_SIMPLE, ALTIUM_BINARY_PARSER::Read(), REPORTER::Report(), VECTOR2< T >::Resize(), RPT_SEVERITY_ERROR, BOARD_DESIGN_SETTINGS::SetAuxOrigin(), BOARD_DESIGN_SETTINGS::SetGridOrigin(), EDA_ITEM::SetModified(), THROW_IO_ERROR, and BOARD::Tracks().

Referenced by PCB_IO_ALTIUM_CIRCUIT_STUDIO::LoadBoard(), PCB_IO_ALTIUM_CIRCUIT_MAKER::LoadBoard(), PCB_IO_ALTIUM_DESIGNER::LoadBoard(), and PCB_IO_SOLIDWORKS::LoadBoard().

◆ ParseArcs6Data()

void ALTIUM_PCB::ParseArcs6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseBoard6Data()

◆ ParseBoardRegionsData()

void ALTIUM_PCB::ParseBoardRegionsData ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseClasses6Data()

◆ ParseComponents6Data()

◆ ParseComponentsBodies6Data()

◆ ParseDimensions6Data()

◆ ParseExtendedPrimitiveInformationData()

void ALTIUM_PCB::ParseExtendedPrimitiveInformationData ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseFileHeader()

void ALTIUM_PCB::ParseFileHeader ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseFills6Data()

void ALTIUM_PCB::ParseFills6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseFootprint()

◆ ParseModelsData()

void ALTIUM_PCB::ParseModelsData ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry,
const std::vector< std::string > &  aRootDir 
)
private

◆ ParseNets6Data()

void ALTIUM_PCB::ParseNets6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParsePads6Data()

void ALTIUM_PCB::ParsePads6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParsePolygons6Data()

◆ ParseRegions6Data()

◆ ParseRules6Data()

◆ ParseShapeBasedRegions6Data()

void ALTIUM_PCB::ParseShapeBasedRegions6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseTexts6Data()

void ALTIUM_PCB::ParseTexts6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseTracks6Data()

void ALTIUM_PCB::ParseTracks6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ ParseVias6Data()

◆ ParseWideStrings6Data()

void ALTIUM_PCB::ParseWideStrings6Data ( const ALTIUM_PCB_COMPOUND_FILE aAltiumPcbFile,
const CFB::COMPOUND_FILE_ENTRY *  aEntry 
)
private

◆ remapUnsureLayers()

Member Data Documentation

◆ m_altiumToKicadNetcodes

std::vector<int> ALTIUM_PCB::m_altiumToKicadNetcodes
private

Definition at line 268 of file altium_pcb.h.

Referenced by GetNetCode(), and ParseNets6Data().

◆ m_board

◆ m_components

std::vector<FOOTPRINT*> ALTIUM_PCB::m_components
private

◆ m_doneCount

unsigned ALTIUM_PCB::m_doneCount
private

Definition at line 283 of file altium_pcb.h.

Referenced by ALTIUM_PCB(), and checkpoint().

◆ m_EmbeddedModels

std::map<wxString, ALTIUM_EMBEDDED_MODEL_DATA> ALTIUM_PCB::m_EmbeddedModels
private

Definition at line 272 of file altium_pcb.h.

Referenced by ParseComponentsBodies6Data(), and ParseModelsData().

◆ m_extendedPrimitiveInformationMaps

std::map<ALTIUM_RECORD, std::multimap<int, const AEXTENDED_PRIMITIVE_INFORMATION> > ALTIUM_PCB::m_extendedPrimitiveInformationMaps
private

◆ m_footprintName

wxString ALTIUM_PCB::m_footprintName
private

◆ m_highest_pour_index

int ALTIUM_PCB::m_highest_pour_index
private

Altium stores pour order across all layers.

Definition at line 291 of file altium_pcb.h.

Referenced by ALTIUM_PCB(), Parse(), and ParsePolygons6Data().

◆ m_lastProgressCount

unsigned ALTIUM_PCB::m_lastProgressCount
private

Definition at line 284 of file altium_pcb.h.

Referenced by ALTIUM_PCB(), and checkpoint().

◆ m_layermap

std::map<ALTIUM_LAYER, PCB_LAYER_ID> ALTIUM_PCB::m_layermap
private

Definition at line 269 of file altium_pcb.h.

Referenced by GetKicadLayer(), ParseBoard6Data(), ParseFootprint(), and remapUnsureLayers().

◆ m_layerMappingHandler

LAYER_MAPPING_HANDLER ALTIUM_PCB::m_layerMappingHandler
private

Definition at line 279 of file altium_pcb.h.

Referenced by ALTIUM_PCB(), and remapUnsureLayers().

◆ m_layerNames

std::map<ALTIUM_LAYER, wxString> ALTIUM_PCB::m_layerNames
private

Definition at line 270 of file altium_pcb.h.

Referenced by GetKicadLayersToIterate(), and remapUnsureLayers().

◆ m_library

wxString ALTIUM_PCB::m_library
private

◆ m_outer_plane

std::map<ALTIUM_LAYER, ZONE*> ALTIUM_PCB::m_outer_plane
private

Definition at line 277 of file altium_pcb.h.

Referenced by Parse(), and ParsePolygons6Data().

◆ m_polygons

std::vector<ZONE*> ALTIUM_PCB::m_polygons
private

◆ m_progressReporter

◆ m_radialDimensions

std::vector<PCB_DIM_RADIAL*> ALTIUM_PCB::m_radialDimensions
private

Definition at line 266 of file altium_pcb.h.

Referenced by HelperParseDimensions6Radial(), and Parse().

◆ m_reporter

◆ m_rules

std::map<ALTIUM_RULE_KIND, std::vector<ARULE6> > ALTIUM_PCB::m_rules
private

Definition at line 273 of file altium_pcb.h.

Referenced by GetRule(), GetRuleDefault(), and ParseRules6Data().

◆ m_totalCount

unsigned ALTIUM_PCB::m_totalCount
private

for progress reporting

Definition at line 285 of file altium_pcb.h.

Referenced by ALTIUM_PCB(), checkpoint(), and Parse().

◆ m_unicodeStrings

std::map<uint32_t, wxString> ALTIUM_PCB::m_unicodeStrings
private

Definition at line 267 of file altium_pcb.h.

Referenced by ParseFootprint(), ParseTexts6Data(), and ParseWideStrings6Data().


The documentation for this class was generated from the following files: