|
KiCad PCB EDA Suite
|
#include <import_fabmaster.h>
Classes | |
| struct | CLASS |
| struct | COMPONENT |
| struct | FABMASTER_LAYER |
| A!LAYER_SORT!LAYER_SUBCLASS!LAYER_ARTWORK!LAYER_USE!LAYER_CONDUCTOR!LAYER_DIELECTRIC_CONSTANT !LAYER_ELECTRICAL_CONDUCTIVITY!LAYER_MATERIAL!LAYER_SHIELD_LAYER!LAYER_THERMAL_CONDUCTIVITY!LAYER_THICKNESS! More... | |
| struct | FABMASTER_PAD_SHAPE |
| A!SUBCLASS!PAD_SHAPE_NAME!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1! More... | |
| struct | FM_PAD |
| struct | FM_VIA |
| struct | GEOM_GRAPHIC |
| struct | GRAPHIC_ARC |
| struct | GRAPHIC_CROSS |
| struct | GRAPHIC_DATA |
| struct | GRAPHIC_ITEM |
| struct | GRAPHIC_LINE |
| struct | GRAPHIC_OBLONG |
| struct | GRAPHIC_POLYGON |
| struct | GRAPHIC_RECTANGLE |
| struct | GRAPHIC_TEXT |
| struct | NETNAME |
| struct | PIN |
| struct | SYMBOL |
| struct | TRACE |
Public Types | |
| using | single_row = std::vector<std::string> |
Public Member Functions | |
| FABMASTER () | |
| bool | Read (const std::string &aFile) |
| bool | Process () |
| bool | LoadBoard (BOARD *aBoard, PROGRESS_REPORTER *aProgressReporter) |
Private Types | |
| enum | section_type : int { UNKNOWN_EXTRACT , EXTRACT_PADSTACKS , EXTRACT_PAD_SHAPES , EXTRACT_FULL_LAYERS , EXTRACT_VIAS , FABMASTER_EXTRACT_PINS , EXTRACT_PINS , EXTRACT_TRACES , EXTRACT_GRAPHICS , EXTRACT_BASIC_LAYERS , EXTRACT_NETS , EXTRACT_REFDES } |
| enum | COMPCLASS { COMPCLASS_NONE , COMPCLASS_IO , COMPCLASS_IC , COMPCLASS_DISCRETE } |
| enum | SYMTYPE { SYMTYPE_NONE , SYMTYPE_PACKAGE , SYMTYPE_MECH , SYMTYPE_FORMAT , SYMTYPE_DRAFTING } |
| enum | GRAPHIC_SHAPE { GR_SHAPE_LINE , GR_SHAPE_TEXT , GR_SHAPE_RECTANGLE , GR_SHAPE_ARC , GR_SHAPE_CIRCLE , GR_SHAPE_OBLONG , GR_SHAPE_CROSS , GR_SHAPE_POLYGON } |
| enum | GRAPHIC_TYPE { GR_TYPE_NONE , GR_TYPE_CONNECT , GR_TYPE_NOTCONNECT , GR_TYPE_SHAPE , GR_TYPE_POLYGON , GR_TYPE_VOID } |
| using | graphic_element = std::set<std::unique_ptr<GRAPHIC_ITEM>, GRAPHIC_ITEM::SEQ_CMP> |
Private Member Functions | |
| section_type | detectType (size_t aOffset) |
| void | checkpoint () |
| int | execute_recordbuffer (int filetype) |
| int | getColFromName (size_t aRow, const std::string &aStr) |
| SYMTYPE | parseSymType (const std::string &aSymType) |
| COMPCLASS | parseCompClass (const std::string &aCompClass) |
| double | processScaleFactor (size_t aRow) |
| Processes data from text vectors into internal database for further ordering. | |
| size_t | processPadStacks (size_t aRow) |
| A!PADNAME!RECNUMBER!LAYER!FIXFLAG!VIAFLAG!PADSHAPE1!PADWIDTH!PADHGHT! | |
| size_t | processCustomPads (size_t aRow) |
| A!SUBCLASS!PAD_SHAPE_NAME!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1! | |
| size_t | processGeometry (size_t aRow) |
| A!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1!GRAPHIC_DATA_2!GRAPHIC_DATA_3! | |
| size_t | processVias (size_t aRow) |
| A!VIA_X!VIA_Y!PAD_STACK_NAME!NET_NAME!TEST_POINT! | |
| size_t | processTraces (size_t aRow) |
| A!CLASS!SUBCLASS!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1!GRAPHIC_DATA_2! | |
| size_t | processFootprints (size_t aRow) |
| A!REFDES!COMP_CLASS!COMP_PART_NUMBER!COMP_HEIGHT!COMP_DEVICE_LABEL!COMP_INSERTION_CODE!SYM_TYPE! | |
| size_t | processNets (size_t aRow) |
| A!NET_NAME!REFDES!PIN_NUMBER!PIN_NAME!PIN_GROUND!PIN_POWER! | |
| size_t | processLayers (size_t aRow) |
| A!LAYER_SORT!LAYER_SUBCLASS!LAYER_ARTWORK!LAYER_USE!LAYER_CONDUCTOR!LAYER_DIELECTRIC_CONSTANT! | |
| size_t | processSimpleLayers (size_t aRow) |
| size_t | processPadStackLayers (size_t aRow) |
| size_t | processSymbols (size_t aRow) |
| size_t | processPins (size_t aRow) |
| A!SYM_NAME!SYM_MIRROR!PIN_NAME!PIN_NUMBER!PIN_X!PIN_Y!PAD_STACK_NAME!REFDES!PIN_ROTATION! | |
| GRAPHIC_ITEM * | processGraphic (const GRAPHIC_DATA &aData, double aScale) |
| Specialty functions for processing graphical data rows into the internal database. | |
| GRAPHIC_ARC * | processArc (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_ARC * | processCircle (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_LINE * | processLine (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_TEXT * | processText (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_RECTANGLE * | processRectangle (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_RECTANGLE * | processFigRectangle (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_RECTANGLE * | processSquare (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_OBLONG * | processOblong (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_CROSS * | processCross (const GRAPHIC_DATA &aData, double aScale) |
| GRAPHIC_POLYGON * | processPolygon (const GRAPHIC_DATA &aData, double aScale) |
| PCB_LAYER_ID | getLayer (const std::string &aLayerName) |
| bool | assignLayers () |
| double | readDouble (const std::string &aStr) const |
| Reads the double/integer value from a std string independent of the user locale. | |
| int | readInt (const std::string &aStr) const |
| bool | orderZones (BOARD *aBoard) |
| Sets zone priorities based on zone BB size. | |
| bool | loadZones (BOARD *aBoard) |
| Loads sections of the database into the board. | |
| bool | loadOutline (BOARD *aBoard, const std::unique_ptr< TRACE > &aLine) |
| bool | loadNets (BOARD *aBoard) |
| bool | loadLayers (BOARD *aBoard) |
| bool | loadGraphics (BOARD *aBoard) |
| bool | loadVias (BOARD *aBoard) |
| bool | loadEtch (BOARD *aBoard, const std::unique_ptr< TRACE > &aLine) |
| bool | loadZone (BOARD *aBoard, const std::unique_ptr< FABMASTER::TRACE > &aLine) |
| bool | loadPolygon (BOARD *aBoard, const std::unique_ptr< FABMASTER::TRACE > &aLine) |
| bool | loadFootprints (BOARD *aBoard) |
| void | createComponentsFromOrphanPins () |
| Creates synthetic COMPONENT entries from pins that have no matching component. | |
| SHAPE_POLY_SET | loadShapePolySet (const graphic_element &aLine) |
Static Private Member Functions | |
| static bool | traceIsOpen (const FABMASTER::TRACE &aLine) |
| static void | setupText (const FABMASTER::GRAPHIC_TEXT &aGraphicText, PCB_LAYER_ID aLayer, PCB_TEXT &aText, const BOARD &aBoard, const OPT_VECTOR2I &aMirrorPoint) |
| Set parameters for graphic text. | |
| static std::vector< std::unique_ptr< BOARD_ITEM > > | createBoardItems (BOARD &aBoard, PCB_LAYER_ID aLayer, FABMASTER::GRAPHIC_ITEM &aGraphic) |
| Convert one Fabmaster graphic item to one or more PCB items. | |
Private Attributes | |
| wxFileName | m_filename |
| std::deque< single_row > | rows |
| bool | has_pads |
| bool | has_comps |
| bool | has_graphic |
| bool | has_nets |
| bool | has_pins |
| std::unordered_map< std::string, FM_PAD > | pads |
| std::map< std::pair< std::string, std::string >, NETNAME > | pin_nets |
| std::set< std::string > | netnames |
| std::map< std::string, FABMASTER_LAYER > | layers |
| std::unordered_map< std::string, FABMASTER_PAD_SHAPE > | pad_shapes |
| std::unordered_map< std::string, SYMBOL > | symbols |
| std::vector< GEOM_GRAPHIC > | board_graphics |
| std::map< std::string, std::map< int, GEOM_GRAPHIC > > | comp_graphics |
| std::vector< std::unique_ptr< FM_VIA > > | vias |
| std::set< std::unique_ptr< TRACE >, TRACE::BY_ID > | traces |
| std::set< std::unique_ptr< TRACE >, TRACE::BY_ID > | zones |
| std::set< std::unique_ptr< TRACE >, TRACE::BY_ID > | polygons |
| std::set< std::unique_ptr< TRACE >, TRACE::BY_ID > | refdes |
| std::map< std::string, std::vector< std::unique_ptr< COMPONENT > > > | components |
| std::map< std::string, std::set< std::unique_ptr< PIN >, PIN::BY_NUM > > | pins |
| std::map< std::string, PCB_LAYER_ID > | layer_map |
| PROGRESS_REPORTER * | m_progressReporter |
| optional; may be nullptr | |
| unsigned | m_doneCount |
| unsigned | m_lastProgressCount |
| unsigned | m_totalCount |
| for progress reporting | |
Definition at line 51 of file import_fabmaster.h.
|
private |
Definition at line 308 of file import_fabmaster.h.
| using FABMASTER::single_row = std::vector<std::string> |
Definition at line 55 of file import_fabmaster.h.
|
private |
| Enumerator | |
|---|---|
| COMPCLASS_NONE | |
| COMPCLASS_IO | |
| COMPCLASS_IC | |
| COMPCLASS_DISCRETE | |
Definition at line 142 of file import_fabmaster.h.
|
private |
Definition at line 191 of file import_fabmaster.h.
|
private |
| Enumerator | |
|---|---|
| GR_TYPE_NONE | |
| GR_TYPE_CONNECT | |
| GR_TYPE_NOTCONNECT | |
| GR_TYPE_SHAPE | |
| GR_TYPE_POLYGON | |
| GR_TYPE_VOID | |
Definition at line 203 of file import_fabmaster.h.
|
private |
Definition at line 79 of file import_fabmaster.h.
|
private |
| Enumerator | |
|---|---|
| SYMTYPE_NONE | |
| SYMTYPE_PACKAGE | |
| SYMTYPE_MECH | |
| SYMTYPE_FORMAT | |
| SYMTYPE_DRAFTING | |
Definition at line 150 of file import_fabmaster.h.
|
inline |
Definition at line 56 of file import_fabmaster.h.
References has_comps, has_graphic, has_nets, has_pads, has_pins, m_doneCount, m_lastProgressCount, m_progressReporter, and m_totalCount.
|
private |
Definition at line 710 of file import_fabmaster.cpp.
References _, B_CrtYd, B_Cu, B_Fab, B_Mask, B_Paste, B_SilkS, FABMASTER::FABMASTER_LAYER::conductive, FABMASTER::FABMASTER_LAYER::disable, Dwgs_User, F_CrtYd, F_Cu, F_Fab, F_Mask, F_Paste, F_SilkS, FABMASTER::FABMASTER_LAYER::layerid, layers, FABMASTER::FABMASTER_LAYER::name, result, traceFabmaster, UNSELECTED_LAYER, User_1, and User_9.
Referenced by Process().
|
private |
Definition at line 71 of file import_fabmaster.cpp.
References _, m_doneCount, m_lastProgressCount, m_progressReporter, m_totalCount, and THROW_IO_ERROR.
Referenced by LoadBoard(), loadFootprints(), loadGraphics(), loadLayers(), loadNets(), loadVias(), and loadZones().
|
staticprivate |
Convert one Fabmaster graphic item to one or more PCB items.
Definition at line 3207 of file import_fabmaster.cpp.
References _, ANGLE_0, ARC, FABMASTER::GRAPHIC_ARC::center_x, FABMASTER::GRAPHIC_ARC::center_y, CIRCLE, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_RECTANGLE::end_x, FABMASTER::GRAPHIC_LINE::end_y, FABMASTER::GRAPHIC_RECTANGLE::end_y, ERROR_INSIDE, FABMASTER::GRAPHIC_RECTANGLE::fill, SHAPE_ARC::GetArcMid(), BOARD::GetDesignSettings(), BOARD_DESIGN_SETTINGS::GetLineThickness(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), GR_SHAPE_ARC, GR_SHAPE_CIRCLE, GR_SHAPE_CROSS, GR_SHAPE_LINE, GR_SHAPE_OBLONG, GR_SHAPE_POLYGON, GR_SHAPE_RECTANGLE, GR_SHAPE_TEXT, IsBackLayer(), FABMASTER::GRAPHIC_ITEM::layer, BOARD_DESIGN_SETTINGS::m_MaxError, FABMASTER::GRAPHIC_POLYGON::m_pts, KIGEOM::MakeCrossSegments(), FABMASTER::GRAPHIC_OBLONG::oblong_x, POLY, FABMASTER::GRAPHIC_ARC::radius, RECTANGLE, FABMASTER::GRAPHIC_ARC::result, SEGMENT, FABMASTER::GRAPHIC_ITEM::seq, setupText(), FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_CROSS::size_x, FABMASTER::GRAPHIC_OBLONG::size_x, FABMASTER::GRAPHIC_CROSS::size_y, FABMASTER::GRAPHIC_OBLONG::size_y, SOLID, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, FABMASTER::GRAPHIC_ITEM::subseq, SHAPE_SEGMENT::TransformToPolygon(), and FABMASTER::GRAPHIC_ITEM::width.
Referenced by loadEtch(), loadGraphics(), loadOutline(), and loadPolygon().
|
private |
Creates synthetic COMPONENT entries from pins that have no matching component.
This handles Fabmaster exports where the REFDES section is empty but PIN data exists.
Definition at line 2323 of file import_fabmaster.cpp.
References COMPCLASS_IC, components, pin, pins, and SYMTYPE_PACKAGE.
Referenced by LoadBoard().
|
private |
We strip the underscores from all column names as some export variants use them and
Definition at line 202 of file import_fabmaster.cpp.
References _, EXTRACT_BASIC_LAYERS, EXTRACT_FULL_LAYERS, EXTRACT_GRAPHICS, EXTRACT_NETS, EXTRACT_PAD_SHAPES, EXTRACT_PADSTACKS, EXTRACT_PINS, EXTRACT_REFDES, EXTRACT_TRACES, EXTRACT_VIAS, FABMASTER_EXTRACT_PINS, rows, and UNKNOWN_EXTRACT.
Referenced by Process().
|
private |
|
private |
Some Fabmaster headers include the underscores while others do not so we strip them uniformly before comparing
Definition at line 318 of file import_fabmaster.cpp.
References _, header, rows, and THROW_IO_ERROR.
Referenced by processCustomPads(), processFootprints(), processGeometry(), processLayers(), processNets(), processPadStackLayers(), processPadStacks(), processPins(), processSimpleLayers(), processTraces(), and processVias().
|
private |
Definition at line 340 of file import_fabmaster.cpp.
References layers, and UNDEFINED_LAYER.
Referenced by loadEtch(), loadFootprints(), loadGraphics(), loadPolygon(), loadZone(), and loadZones().
| bool FABMASTER::LoadBoard | ( | BOARD * | aBoard, |
| PROGRESS_REPORTER * | aProgressReporter ) |
Definition at line 3678 of file import_fabmaster.cpp.
References board_graphics, checkpoint(), components, createComponentsFromOrphanPins(), layers, loadEtch(), loadFootprints(), loadGraphics(), loadLayers(), loadNets(), loadOutline(), loadPolygon(), loadVias(), loadZones(), m_doneCount, m_filename, m_progressReporter, m_totalCount, netnames, orderZones(), BOARD::SetFileName(), traces, vias, and zones.
Definition at line 3007 of file import_fabmaster.cpp.
References _, BOARD::Add(), APPEND, createBoardItems(), FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_LINE::end_y, getLayer(), BOARD::GetNetInfo(), GR_SHAPE_ARC, GR_SHAPE_LINE, IsCopperLayer(), NETINFO_LIST::NetsByName(), FABMASTER::GRAPHIC_ARC::result, PCB_TRACK::SetEnd(), BOARD_CONNECTED_ITEM::SetLayer(), BOARD_CONNECTED_ITEM::SetNet(), PCB_TRACK::SetStart(), PCB_TRACK::SetWidth(), FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, and FABMASTER::GRAPHIC_ITEM::width.
Referenced by LoadBoard().
|
private |
Always set the module to the top and flip later if needed When flipping later, we get the full coordinate transform for free
Definition at line 2365 of file import_fabmaster.cpp.
References _, BOARD::Add(), FOOTPRINT::Add(), SHAPE_POLY_SET::AddHole(), PADSTACK::ALL_LAYERS, APPEND, SHAPE_POLY_SET::Append(), ARC, B_Cu, B_SilkS, FABMASTER::GRAPHIC_ARC::center_x, FABMASTER::GRAPHIC_ARC::center_y, chain, checkpoint(), CIRCLE, circle(), comp_graphics, components, CUSTOM, DEGREES_T, Dwgs_User, FABMASTER::GRAPHIC_ARC::end_x, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_RECTANGLE::end_x, FABMASTER::GRAPHIC_ARC::end_y, FABMASTER::GRAPHIC_LINE::end_y, FABMASTER::GRAPHIC_RECTANGLE::end_y, F_Cu, F_Fab, F_SilkS, FOOTPRINT::Flip(), BOARD::FlipLayer(), FOOTPRINT, SHAPE_POLY_SET::Fracture(), SHAPE_ARC::GetArcMid(), SHAPE_ARC::GetCenter(), BOARD::GetDesignSettings(), BOARD::GetFileName(), getLayer(), BOARD::GetNetInfo(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), FOOTPRINT::GetPosition(), GR_SHAPE_ARC, GR_SHAPE_CIRCLE, GR_SHAPE_LINE, GR_SHAPE_RECTANGLE, GR_SHAPE_TEXT, SHAPE_POLY_SET::Hole(), IsBackLayer(), IsPcbLayer(), FABMASTER::GRAPHIC_ITEM::layer, LEFT_RIGHT, m_filename, SHAPE_ARC::Mirror(), SHAPE_POLY_SET::Mirror(), SHAPE_POLY_SET::Move(), NETINFO_LIST::NetsByName(), SHAPE_POLY_SET::NewOutline(), EDA_ANGLE::Normalized(), NPTH, OBLONG, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), pad, pad_shapes, pads, LIB_ID::Parse(), pin, pin_nets, pins, SHAPE_LINE_CHAIN::PointCount(), SHAPE_POLY_SET::Polygon(), PTH, PAD::PTHMask(), RECTANGLE, refdes, FOOTPRINT::Reference(), ReplaceIllegalFileNameChars(), FABMASTER::GRAPHIC_ARC::result, SHAPE_POLY_SET::Rotate(), FABMASTER::GRAPHIC_TEXT::rotation, SEGMENT, EDA_SHAPE::SetEnd(), FOOTPRINT::SetFPID(), BOARD_ITEM::SetLayer(), PCB_SHAPE::SetLayer(), FOOTPRINT::SetOrientationDegrees(), FOOTPRINT::SetPosition(), FOOTPRINT::SetReference(), EDA_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), EDA_TEXT::SetTextAngle(), setupText(), FOOTPRINT::SetValue(), EDA_TEXT::SetVisible(), SMD, PAD::SMDMask(), SOLID, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, FABMASTER::GRAPHIC_TEXT::text, TOP_BOTTOM, traceFabmaster, PAD::UnplatedHoleMask(), USER, FOOTPRINT::Value(), SHAPE_POLY_SET::VertexCount(), and FABMASTER::GRAPHIC_ITEM::width.
Referenced by LoadBoard().
|
private |
Zero-width segments/arcs are polygon outlines
Definition at line 3615 of file import_fabmaster.cpp.
References BOARD::Add(), APPEND, B_SilkS, board_graphics, checkpoint(), Cmts_User, SHAPE_POLY_SET::COutline(), createBoardItems(), F_SilkS, SHAPE_POLY_SET::Fracture(), getLayer(), IsPcbLayer(), loadShapePolySet(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetPolyShape(), and PCB_SHAPE::SetStroke().
Referenced by LoadBoard().
|
private |
The basic layers that get enabled for normal boards
Definition at line 2864 of file import_fabmaster.cpp.
References LSET::AllTechMask(), checkpoint(), layers, PCBNEW_LAYER_ID_START, BASE_SET::set(), BOARD::SetEnabledLayers(), BOARD::SetLayerName(), and LSET::UserMask().
Referenced by LoadBoard().
|
private |
Definition at line 2993 of file import_fabmaster.cpp.
References BOARD::Add(), APPEND, checkpoint(), and netnames.
Referenced by LoadBoard().
Definition at line 3592 of file import_fabmaster.cpp.
References BOARD::Add(), APPEND, Cmts_User, createBoardItems(), Dwgs_User, and Edge_Cuts.
Referenced by LoadBoard(), and loadZones().
|
private |
Definition at line 3382 of file import_fabmaster.cpp.
References BOARD::Add(), APPEND, B_SilkS, Cmts_User, SHAPE_POLY_SET::COutline(), createBoardItems(), F_SilkS, SHAPE_POLY_SET::Fracture(), BOARD::GetDesignSettings(), getLayer(), BOARD_DESIGN_SETTINGS::GetLineThickness(), PCB_SHAPE::GetWidth(), IsPcbLayer(), loadShapePolySet(), SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::PointCount(), POLY, EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetPolyShape(), EDA_SHAPE::SetShape(), PCB_SHAPE::SetStroke(), SOLID, and traceIsOpen().
Referenced by LoadBoard(), and loadZones().
|
private |
Definition at line 3072 of file import_fabmaster.cpp.
References SHAPE_POLY_SET::AddHole(), SHAPE_POLY_SET::Append(), chain, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_LINE::end_y, GR_SHAPE_ARC, GR_SHAPE_CIRCLE, GR_SHAPE_LINE, SHAPE_POLY_SET::Hole(), SHAPE_POLY_SET::NewOutline(), FABMASTER::GRAPHIC_ARC::result, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, and SHAPE_POLY_SET::VertexCount().
Referenced by loadGraphics(), and loadPolygon().
|
private |
Definition at line 2894 of file import_fabmaster.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, APPEND, B_Cu, BLIND, BURIED, checkpoint(), F_Cu, BOARD::GetDesignSettings(), BOARD::GetNetInfo(), FABMASTER::FABMASTER_LAYER::layerid, layers, NETINFO_LIST::NetsByName(), pads, PCB_VIA::SetDrill(), PCB_VIA::SetDrillDefault(), PCB_VIA::SetLayerPair(), BOARD_CONNECTED_ITEM::SetNet(), PCB_VIA::SetPosition(), PCB_VIA::SetViaType(), PCB_VIA::SetWidth(), via, and vias.
Referenced by LoadBoard().
|
private |
Definition at line 3445 of file import_fabmaster.cpp.
References _, BOARD::Add(), KIGEOM::AddHoleIfValid(), LSET::AllCuMask(), APPEND, SHAPE_LINE_CHAIN::Append(), SHAPE_LINE_CHAIN::CLastPoint(), Cmts_User, end, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_LINE::end_y, VECTOR2< T >::Format(), FULL, getLayer(), BOARD_ITEM::GetLayerName(), BOARD::GetLayerSet(), BOARD::GetNetInfo(), BOARD_CONNECTED_ITEM::GetNetname(), GR_SHAPE_ARC, GR_SHAPE_CIRCLE, GR_SHAPE_LINE, IsPcbLayer(), NETINFO_LIST::NetsByName(), SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::Outline(), SHAPE_LINE_CHAIN::PointCount(), FABMASTER::GRAPHIC_ARC::result, ZONE::SetAssignedPriority(), ZONE::SetDoNotAllowFootprints(), ZONE::SetDoNotAllowPads(), ZONE::SetDoNotAllowTracks(), ZONE::SetDoNotAllowVias(), ZONE::SetDoNotAllowZoneFills(), ZONE::SetIsRuleArea(), ZONE::SetLayer(), ZONE::SetLayerSet(), ZONE::SetLocalClearance(), BOARD_CONNECTED_ITEM::SetNet(), ZONE::SetOutline(), ZONE::SetPadConnection(), FABMASTER::GRAPHIC_ITEM::start_x, and FABMASTER::GRAPHIC_ITEM::start_y.
Referenced by loadZones().
|
private |
Loads sections of the database into the board.
| aBoard |
Zones in FABMASTER come in two varieties:
In pcbnew, we want the outline with net code attached. To determine which outline should have which netcode, we look for overlapping areas. Each unnetted zone outline will be assigned the netcode that with the most hits on the edge of their outline.
Definition at line 2163 of file import_fabmaster.cpp.
References SHAPE_LINE_CHAIN::BBox(), checkpoint(), SHAPE_LINE_CHAIN::CPoints(), getLayer(), NETINFO_LIST::GetNetCount(), BOARD::GetNetInfo(), BOX2< Vec >::Intersects(), IsCopperLayer(), loadOutline(), loadPolygon(), loadZone(), SHAPE_LINE_CHAIN_BASE::PointOnEdge(), BOARD::Remove(), BOARD::Zones(), and zones.
Referenced by LoadBoard().
|
private |
Sets zone priorities based on zone BB size.
Larger bounding boxes get smaller priorities so smaller zones can knock out areas where they overlap.
| aBoard |
Definition at line 3671 of file import_fabmaster.cpp.
References AutoAssignZonePriorities().
Referenced by LoadBoard().
|
private |
Definition at line 1815 of file import_fabmaster.cpp.
References COMPCLASS_DISCRETE, COMPCLASS_IC, COMPCLASS_IO, and COMPCLASS_NONE.
Referenced by processFootprints().
|
private |
Definition at line 1800 of file import_fabmaster.cpp.
References SYMTYPE_DRAFTING, SYMTYPE_FORMAT, SYMTYPE_MECH, SYMTYPE_NONE, and SYMTYPE_PACKAGE.
Referenced by processFootprints().
| bool FABMASTER::Process | ( | ) |
We extract the basic layers from the padstacks first as this is the only place the stackup is kept in the basic fabmaster export
Definition at line 2059 of file import_fabmaster.cpp.
References assignLayers(), detectType(), EXTRACT_BASIC_LAYERS, EXTRACT_FULL_LAYERS, EXTRACT_GRAPHICS, EXTRACT_NETS, EXTRACT_PAD_SHAPES, EXTRACT_PADSTACKS, EXTRACT_PINS, EXTRACT_REFDES, EXTRACT_TRACES, EXTRACT_VIAS, processCustomPads(), processFootprints(), processGeometry(), processLayers(), processNets(), processPadStackLayers(), processPadStacks(), processPins(), processSimpleLayers(), processTraces(), processVias(), and rows.
|
private |
Definition at line 1069 of file import_fabmaster.cpp.
References ANGLE_0, ANGLE_360, center, FABMASTER::GRAPHIC_ARC::center_x, FABMASTER::GRAPHIC_ARC::center_y, FABMASTER::GRAPHIC_ARC::clockwise, end, FABMASTER::GRAPHIC_ARC::end_x, FABMASTER::GRAPHIC_ARC::end_y, GR_SHAPE_ARC, GR_SHAPE_CIRCLE, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_data6, FABMASTER::GRAPHIC_DATA::graphic_data7, FABMASTER::GRAPHIC_DATA::graphic_data8, FABMASTER::GRAPHIC_DATA::graphic_data9, KiROUND(), EDA_ANGLE::Normalize(), FABMASTER::GRAPHIC_ARC::radius, readDouble(), FABMASTER::GRAPHIC_ARC::result, RotatePoint(), FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, and FABMASTER::GRAPHIC_ITEM::width.
Referenced by processGraphic().
|
private |
Definition at line 1120 of file import_fabmaster.cpp.
References _, center, GR_SHAPE_CIRCLE, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, KiROUND(), readDouble(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by processGraphic().
|
private |
Definition at line 1344 of file import_fabmaster.cpp.
References GR_SHAPE_CROSS, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, KiROUND(), and readDouble().
Referenced by processGraphic().
|
private |
A!SUBCLASS!PAD_SHAPE_NAME!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1!
GRAPHIC_DATA_2!GRAPHIC_DATA_3!GRAPHIC_DATA_4!GRAPHIC_DATA_5!GRAPHIC_DATA_6!GRAPHIC_DATA_7! GRAPHIC_DATA_8!GRAPHIC_DATA_9!PAD_STACK_NAME!REFDES!PIN_NUMBER!
Definition at line 904 of file import_fabmaster.cpp.
References _, getColFromName(), FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_data6, FABMASTER::GRAPHIC_DATA::graphic_data7, FABMASTER::GRAPHIC_DATA::graphic_data8, FABMASTER::GRAPHIC_DATA::graphic_data9, FABMASTER::GRAPHIC_DATA::graphic_dataname, FABMASTER::GRAPHIC_DATA::graphic_datanum, header, name, pad_shapes, processGraphic(), processScaleFactor(), and rows.
Referenced by Process().
|
private |
Definition at line 1198 of file import_fabmaster.cpp.
References GR_SHAPE_RECTANGLE, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, KiROUND(), and readDouble().
Referenced by processGraphic(), and processSquare().
|
private |
A!REFDES!COMP_CLASS!COMP_PART_NUMBER!COMP_HEIGHT!COMP_DEVICE_LABEL!COMP_INSERTION_CODE!SYM_TYPE!
SYM_NAME!SYM_MIRROR!SYM_ROTATE!SYM_X!SYM_Y!COMP_VALUE!COMP_TOL!COMP_VOLTAGE!
Definition at line 1832 of file import_fabmaster.cpp.
References _, components, empty(), getColFromName(), header, KiROUND(), parseCompClass(), parseSymType(), processScaleFactor(), readDouble(), and rows.
Referenced by Process().
|
private |
A!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1!GRAPHIC_DATA_2!GRAPHIC_DATA_3!
GRAPHIC_DATA_4!GRAPHIC_DATA_5!GRAPHIC_DATA_6!GRAPHIC_DATA_7!GRAPHIC_DATA_8!GRAPHIC_DATA_9! SUBCLASS!SYM_NAME!REFDES!
Definition at line 1462 of file import_fabmaster.cpp.
References _, board_graphics, comp_graphics, FABMASTER::GEOM_GRAPHIC::elements, getColFromName(), FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_data6, FABMASTER::GRAPHIC_DATA::graphic_data7, FABMASTER::GRAPHIC_DATA::graphic_data8, FABMASTER::GRAPHIC_DATA::graphic_data9, FABMASTER::GRAPHIC_DATA::graphic_dataname, FABMASTER::GRAPHIC_DATA::graphic_datanum, header, FABMASTER::GEOM_GRAPHIC::id, FABMASTER::GEOM_GRAPHIC::name, processGraphic(), processScaleFactor(), FABMASTER::GEOM_GRAPHIC::refdes, rows, and FABMASTER::GEOM_GRAPHIC::subclass.
Referenced by Process().
|
private |
Specialty functions for processing graphical data rows into the internal database.
| aData | Loaded data vector |
| aScale | Prior loaded scale factor |
Definition at line 1410 of file import_fabmaster.cpp.
References GR_TYPE_CONNECT, GR_TYPE_NONE, GR_TYPE_NOTCONNECT, FABMASTER::GRAPHIC_DATA::graphic_data10, FABMASTER::GRAPHIC_DATA::graphic_dataname, processArc(), processCircle(), processCross(), processFigRectangle(), processLine(), processOblong(), processPolygon(), processRectangle(), processSquare(), processText(), and FABMASTER::GRAPHIC_ITEM::type.
Referenced by processCustomPads(), processGeometry(), and processTraces().
|
private |
A!LAYER_SORT!LAYER_SUBCLASS!LAYER_ARTWORK!LAYER_USE!LAYER_CONDUCTOR!LAYER_DIELECTRIC_CONSTANT!
LAYER_ELECTRICAL_CONDUCTIVITY!LAYER_MATERIAL!LAYER_SHIELD_LAYER!LAYER_THERMAL_CONDUCTIVITY! LAYER_THICKNESS!
Definition at line 832 of file import_fabmaster.cpp.
References _, getColFromName(), header, layers, FABMASTER::FABMASTER_LAYER::name, FABMASTER::FABMASTER_LAYER::positive, processScaleFactor(), and rows.
Referenced by Process().
|
private |
Definition at line 1053 of file import_fabmaster.cpp.
References FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_LINE::end_y, GR_SHAPE_LINE, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, KiROUND(), readDouble(), FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, and FABMASTER::GRAPHIC_ITEM::width.
Referenced by processGraphic().
|
private |
A!NET_NAME!REFDES!PIN_NUMBER!PIN_NAME!PIN_GROUND!PIN_POWER!
Definition at line 2006 of file import_fabmaster.cpp.
References _, getColFromName(), header, FABMASTER::NETNAME::name, netnames, FABMASTER::NETNAME::pin_gnd, FABMASTER::NETNAME::pin_name, pin_nets, FABMASTER::NETNAME::pin_num, FABMASTER::NETNAME::pin_pwr, processScaleFactor(), FABMASTER::NETNAME::refdes, and rows.
Referenced by Process().
|
private |
Definition at line 1239 of file import_fabmaster.cpp.
References GR_SHAPE_OBLONG, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_dataname, KiROUND(), and readDouble().
Referenced by processGraphic().
|
private |
If the layer ids have not yet been assigned
Definition at line 351 of file import_fabmaster.cpp.
References _, FABMASTER::FABMASTER_LAYER::conductive, getColFromName(), header, FABMASTER::FABMASTER_LAYER::id, layers, FABMASTER::FABMASTER_LAYER::name, readInt(), result, and rows.
Referenced by Process().
|
private |
A!PADNAME!RECNUMBER!LAYER!FIXFLAG!VIAFLAG!PADSHAPE1!PADWIDTH!PADHGHT!
PADXOFF!PADYOFF!PADFLASH!PADSHAPENAME!TRELSHAPE1!TRELWIDTH!TRELHGHT! TRELXOFF!TRELYOFF!TRELFLASH!TRELSHAPENAME!APADSHAPE1!APADWIDTH!APADHGHT! APADXOFF!APADYOFF!APADFLASH!APADSHAPENAME!
Handle the drill layer
All remaining technical layers are not handled
Definition at line 409 of file import_fabmaster.cpp.
References _, B_Cu, CIRCLE, CUSTOM, F_Cu, getColFromName(), header, KiROUND(), layers, OVAL, pad, pads, processScaleFactor(), readDouble(), RECTANGLE, ROUNDRECT, and rows.
Referenced by Process().
|
private |
A!SYM_NAME!SYM_MIRROR!PIN_NAME!PIN_NUMBER!PIN_X!PIN_Y!PAD_STACK_NAME!REFDES!PIN_ROTATION!
TEST_POINT!
Definition at line 1928 of file import_fabmaster.cpp.
References _, getColFromName(), header, KiROUND(), pin, pins, processScaleFactor(), readDouble(), and rows.
Referenced by Process().
|
private |
Definition at line 1263 of file import_fabmaster.cpp.
References ANGLE_0, ANGLE_90, FULL_CIRCLE, GR_SHAPE_POLYGON, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_dataname, KiROUND(), KIGEOM::MakeRegularPolygonPoints(), radius, and readDouble().
Referenced by processGraphic().
|
private |
Definition at line 1176 of file import_fabmaster.cpp.
References FABMASTER::GRAPHIC_RECTANGLE::end_x, FABMASTER::GRAPHIC_RECTANGLE::end_y, FABMASTER::GRAPHIC_RECTANGLE::fill, GR_SHAPE_RECTANGLE, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, KiROUND(), readDouble(), FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, and FABMASTER::GRAPHIC_ITEM::width.
Referenced by processGraphic().
|
private |
Processes data from text vectors into internal database for further ordering.
| aRow | vector offset being processed |
Definition at line 278 of file import_fabmaster.cpp.
References _, pcbIUScale, and rows.
Referenced by processCustomPads(), processFootprints(), processGeometry(), processLayers(), processNets(), processPadStacks(), processPins(), processSimpleLayers(), processTraces(), and processVias().
|
private |
Definition at line 656 of file import_fabmaster.cpp.
References _, FABMASTER::FABMASTER_LAYER::conductive, getColFromName(), header, layers, FABMASTER::FABMASTER_LAYER::name, FABMASTER::FABMASTER_LAYER::positive, processScaleFactor(), result, and rows.
Referenced by Process().
|
private |
Definition at line 1226 of file import_fabmaster.cpp.
References processFigRectangle().
Referenced by processGraphic().
|
private |
|
private |
Definition at line 1364 of file import_fabmaster.cpp.
References _, GR_SHAPE_TEXT, GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_data6, FABMASTER::GRAPHIC_DATA::graphic_data7, FABMASTER::GRAPHIC_TEXT::height, FABMASTER::GRAPHIC_TEXT::ital, KiROUND(), FABMASTER::GRAPHIC_TEXT::mirror, FABMASTER::GRAPHIC_TEXT::orient, readDouble(), FABMASTER::GRAPHIC_TEXT::rotation, FABMASTER::GRAPHIC_ITEM::shape, split(), FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, FABMASTER::GRAPHIC_TEXT::text, FABMASTER::GRAPHIC_TEXT::thickness, and FABMASTER::GRAPHIC_ITEM::width.
Referenced by processGraphic().
|
private |
A!CLASS!SUBCLASS!GRAPHIC_DATA_NAME!GRAPHIC_DATA_NUMBER!RECORD_TAG!GRAPHIC_DATA_1!GRAPHIC_DATA_2!
GRAPHIC_DATA_3!GRAPHIC_DATA_4!GRAPHIC_DATA_5!GRAPHIC_DATA_6!GRAPHIC_DATA_7!GRAPHIC_DATA_8! GRAPHIC_DATA_9!NET_NAME!
Definition at line 1649 of file import_fabmaster.cpp.
References _, getColFromName(), FABMASTER::GRAPHIC_DATA::graphic_data1, FABMASTER::GRAPHIC_DATA::graphic_data2, FABMASTER::GRAPHIC_DATA::graphic_data3, FABMASTER::GRAPHIC_DATA::graphic_data4, FABMASTER::GRAPHIC_DATA::graphic_data5, FABMASTER::GRAPHIC_DATA::graphic_data6, FABMASTER::GRAPHIC_DATA::graphic_data7, FABMASTER::GRAPHIC_DATA::graphic_data8, FABMASTER::GRAPHIC_DATA::graphic_data9, FABMASTER::GRAPHIC_DATA::graphic_dataname, FABMASTER::GRAPHIC_DATA::graphic_datanum, header, processGraphic(), processScaleFactor(), refdes, result, rows, traceFabmaster, traces, and zones.
Referenced by Process().
|
private |
A!VIA_X!VIA_Y!PAD_STACK_NAME!NET_NAME!TEST_POINT!
Definition at line 1594 of file import_fabmaster.cpp.
References _, getColFromName(), header, KiROUND(), processScaleFactor(), readDouble(), rows, via, and vias.
Referenced by Process().
| bool FABMASTER::Read | ( | const std::string & | aFile | ) |
Rows end with "!" and we don't want to keep the empty cell
Definition at line 119 of file import_fabmaster.cpp.
References m_filename, and rows.
|
private |
Reads the double/integer value from a std string independent of the user locale.
| aStr | string to generate value from |
Definition at line 91 of file import_fabmaster.cpp.
Referenced by processArc(), processCircle(), processCross(), processFigRectangle(), processFootprints(), processLine(), processOblong(), processPadStacks(), processPins(), processPolygon(), processRectangle(), processText(), and processVias().
|
private |
Definition at line 105 of file import_fabmaster.cpp.
Referenced by processPadStackLayers().
|
staticprivate |
Set parameters for graphic text.
Definition at line 2282 of file import_fabmaster.cpp.
References std::abs(), ANGLE_180, ANGLE_90, BOARD::FlipLayer(), GR_TEXT_V_ALIGN_BOTTOM, FABMASTER::GRAPHIC_TEXT::height, FABMASTER::GRAPHIC_TEXT::ital, FABMASTER::GRAPHIC_TEXT::mirror, EDA_ANGLE::Normalize180(), FABMASTER::GRAPHIC_TEXT::orient, FABMASTER::GRAPHIC_TEXT::rotation, EDA_TEXT::SetHorizJustify(), EDA_TEXT::SetItalic(), EDA_TEXT::SetKeepUpright(), BOARD_ITEM::SetLayer(), EDA_TEXT::SetMirrored(), EDA_TEXT::SetText(), EDA_TEXT::SetTextAngle(), EDA_TEXT::SetTextHeight(), EDA_TEXT::SetTextPos(), EDA_TEXT::SetTextThickness(), EDA_TEXT::SetTextWidth(), EDA_TEXT::SetVertJustify(), FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, FABMASTER::GRAPHIC_TEXT::text, FABMASTER::GRAPHIC_TEXT::thickness, and FABMASTER::GRAPHIC_ITEM::width.
Referenced by createBoardItems(), and loadFootprints().
|
staticprivate |
Definition at line 3128 of file import_fabmaster.cpp.
References end, FABMASTER::GRAPHIC_ARC::end_x, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_ARC::end_y, FABMASTER::GRAPHIC_LINE::end_y, GR_SHAPE_ARC, GR_SHAPE_CIRCLE, GR_SHAPE_LINE, FABMASTER::TRACE::segment, FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_ITEM::start_x, and FABMASTER::GRAPHIC_ITEM::start_y.
Referenced by loadPolygon().
|
private |
Definition at line 429 of file import_fabmaster.h.
Referenced by LoadBoard(), loadGraphics(), and processGeometry().
|
private |
Definition at line 430 of file import_fabmaster.h.
Referenced by loadFootprints(), and processGeometry().
|
private |
Definition at line 506 of file import_fabmaster.h.
Referenced by createComponentsFromOrphanPins(), LoadBoard(), loadFootprints(), and processFootprints().
|
private |
Definition at line 98 of file import_fabmaster.h.
Referenced by FABMASTER().
|
private |
Definition at line 99 of file import_fabmaster.h.
Referenced by FABMASTER().
|
private |
Definition at line 100 of file import_fabmaster.h.
Referenced by FABMASTER().
|
private |
Definition at line 97 of file import_fabmaster.h.
Referenced by FABMASTER().
|
private |
Definition at line 101 of file import_fabmaster.h.
Referenced by FABMASTER().
|
private |
Definition at line 535 of file import_fabmaster.h.
|
private |
Definition at line 337 of file import_fabmaster.h.
Referenced by assignLayers(), getLayer(), LoadBoard(), loadLayers(), loadVias(), processLayers(), processPadStackLayers(), processPadStacks(), and processSimpleLayers().
|
private |
Definition at line 644 of file import_fabmaster.h.
Referenced by checkpoint(), FABMASTER(), and LoadBoard().
|
private |
Definition at line 77 of file import_fabmaster.h.
Referenced by LoadBoard(), loadFootprints(), and Read().
|
private |
Definition at line 645 of file import_fabmaster.h.
Referenced by checkpoint(), and FABMASTER().
|
private |
optional; may be nullptr
Definition at line 643 of file import_fabmaster.h.
Referenced by checkpoint(), FABMASTER(), and LoadBoard().
|
private |
for progress reporting
Definition at line 646 of file import_fabmaster.h.
Referenced by checkpoint(), FABMASTER(), and LoadBoard().
|
private |
Definition at line 182 of file import_fabmaster.h.
Referenced by LoadBoard(), loadNets(), and processNets().
|
private |
Definition at line 361 of file import_fabmaster.h.
Referenced by loadFootprints(), and processCustomPads().
|
private |
Definition at line 140 of file import_fabmaster.h.
Referenced by loadFootprints(), loadVias(), and processPadStacks().
|
private |
Definition at line 181 of file import_fabmaster.h.
Referenced by loadFootprints(), and processNets().
|
private |
Definition at line 533 of file import_fabmaster.h.
Referenced by createComponentsFromOrphanPins(), loadFootprints(), and processPins().
|
private |
Definition at line 471 of file import_fabmaster.h.
|
private |
Definition at line 473 of file import_fabmaster.h.
Referenced by loadFootprints(), and processTraces().
|
private |
Definition at line 95 of file import_fabmaster.h.
Referenced by detectType(), getColFromName(), Process(), processCustomPads(), processFootprints(), processGeometry(), processLayers(), processNets(), processPadStackLayers(), processPadStacks(), processPins(), processScaleFactor(), processSimpleLayers(), processTraces(), processVias(), and Read().
|
private |
Definition at line 404 of file import_fabmaster.h.
|
private |
Definition at line 467 of file import_fabmaster.h.
Referenced by LoadBoard(), and processTraces().
|
private |
Definition at line 444 of file import_fabmaster.h.
Referenced by LoadBoard(), loadVias(), and processVias().
|
private |
Definition at line 469 of file import_fabmaster.h.
Referenced by LoadBoard(), loadZones(), and processTraces().