KiCad PCB EDA Suite
|
#include <cadstar_pcb_archive_parser.h>
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
PAD_ID | ID |
POINT | Position |
Pad position within the component's coordinate frame. | |
PADCODE_ID | PadCodeID |
PAD_SIDE | Side |
See PAD_SIDE. | |
long | OrientAngle = 0 |
PAD_EXITS | Exits |
See PAD_EXITS. | |
wxString | Identifier |
This is an identifier that is displayed to the user. | |
bool | FirstPad = false |
From CADSTAR Help: "Only one pad can have this property; if an existing pad in the design already has this property it will be removed from the existing pad when this new pad is added. | |
bool | PCBonlyPad = false |
From CADSTAR Help: "The PCB Only Pad property can be used to stop ECO Update, Back Annotation, and Design Comparison incorrectly acting on mechanical pads / components that only appear in the PCB design. | |
Definition at line 533 of file cadstar_pcb_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1170 of file cadstar_pcb_archive_parser.cpp.
References XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_PCB_ARCHIVE_PARSER::GetPadSide(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), ID, THROW_MISSING_NODE_IO_ERROR, and THROW_UNKNOWN_NODE_IO_ERROR.
PAD_EXITS CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::Exits |
See PAD_EXITS.
Definition at line 540 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().
bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::FirstPad = false |
From CADSTAR Help: "Only one pad can have this property; if an existing pad in the design already has this property it will be removed from the existing pad when this new pad is added.
The property is used by the 'First Pad' highlight when in a PCB design."
Definition at line 550 of file cadstar_pcb_archive_parser.h.
PAD_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::ID |
Definition at line 535 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), and CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers().
wxString CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::Identifier |
This is an identifier that is displayed to the user.
Internally, the pad is identified by sequential Pad ID (see ID). From CADSTAR Help: "This is how the pin is identified, and is used when creating a part and for reload and replace. It replaces the CADSTAR 13.0 pad sequence number but is much less restrictive i.e. It need not be 1, 2, 3 etc. and can contain alpha and / or numeric characters."
Definition at line 542 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), and CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers().
long CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::OrientAngle = 0 |
Definition at line 539 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), and CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().
PADCODE_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::PadCodeID |
Definition at line 537 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers().
bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::PCBonlyPad = false |
From CADSTAR Help: "The PCB Only Pad property can be used to stop ECO Update, Back Annotation, and Design Comparison incorrectly acting on mechanical pads / components that only appear in the PCB design.
"
Definition at line 555 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), and CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers().
POINT CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::Position |
Pad position within the component's coordinate frame.
Definition at line 536 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers().
PAD_SIDE CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD::Side |
See PAD_SIDE.
Definition at line 538 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad(), and CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().