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! 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! 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! PADXOFF!PADYOFF!PADFLASH!PADSHAPENAME!TRELSHAPE1!TRELWIDTH!TRELHGHT! TRELXOFF!TRELYOFF!TRELFLASH!TRELSHAPENAME!APADSHAPE1!APADWIDTH!APADHGHT! APADXOFF!APADYOFF!APADFLASH!APADSHAPENAME! | |
size_t | processCustomPads (size_t aRow) |
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! | |
size_t | processGeometry (size_t aRow) |
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! | |
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! GRAPHIC_DATA_3!GRAPHIC_DATA_4!GRAPHIC_DATA_5!GRAPHIC_DATA_6!GRAPHIC_DATA_7!GRAPHIC_DATA_8! GRAPHIC_DATA_9!NET_NAME! | |
size_t | processFootprints (size_t aRow) |
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! | |
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! LAYER_ELECTRICAL_CONDUCTIVITY!LAYER_MATERIAL!LAYER_SHIELD_LAYER!LAYER_THERMAL_CONDUCTIVITY! LAYER_THICKNESS! | |
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! TEST_POINT! | |
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) |
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 305 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 141 of file import_fabmaster.h.
|
private |
Definition at line 190 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 202 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 149 of file import_fabmaster.h.
|
inline |
Definition at line 56 of file import_fabmaster.h.
|
private |
Definition at line 730 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, traceFabmaster, UNSELECTED_LAYER, User_1, and User_9.
Referenced by Process().
|
private |
Definition at line 70 of file import_fabmaster.cpp.
References _, PROGRESS_REPORTER::KeepRefreshing(), m_doneCount, m_lastProgressCount, m_progressReporter, m_totalCount, PROGRESS_REPORTER::SetCurrentProgress(), 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 3128 of file import_fabmaster.cpp.
References _, ANGLE_0, FABMASTER::GRAPHIC_ARC::center_x, FABMASTER::GRAPHIC_ARC::center_y, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_RECTANGLE::end_x, FABMASTER::GRAPHIC_LINE::end_y, FABMASTER::GRAPHIC_RECTANGLE::end_y, 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, FABMASTER::GRAPHIC_ARC::radius, FABMASTER::GRAPHIC_ARC::result, FABMASTER::GRAPHIC_ITEM::seq, setupText(), FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_OBLONG::size_x, FABMASTER::GRAPHIC_CROSS::size_x, FABMASTER::GRAPHIC_OBLONG::size_y, FABMASTER::GRAPHIC_CROSS::size_y, 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 |
We strip the underscores from all column names as some export variants use them and
Definition at line 201 of file import_fabmaster.cpp.
References _, alg::delete_if(), 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 317 of file import_fabmaster.cpp.
References _, alg::delete_if(), rows, and THROW_IO_ERROR.
Referenced by processCustomPads(), processFootprints(), processGeometry(), processLayers(), processNets(), processPadStackLayers(), processPadStacks(), processPins(), processSimpleLayers(), processTraces(), and processVias().
|
private |
Definition at line 339 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 3622 of file import_fabmaster.cpp.
References board_graphics, checkpoint(), components, 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.
Referenced by PCB_IO_FABMASTER::LoadBoard().
Definition at line 2925 of file import_fabmaster.cpp.
References _, BOARD::Add(), 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_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 2342 of file import_fabmaster.cpp.
References _, BOARD::Add(), FOOTPRINT::Add(), SHAPE_POLY_SET::AddHole(), PADSTACK::ALL_LAYERS, SHAPE_LINE_CHAIN::Append(), SHAPE_POLY_SET::Append(), B_Cu, B_SilkS, FABMASTER::GRAPHIC_ARC::center_x, FABMASTER::GRAPHIC_ARC::center_y, checkpoint(), comp_graphics, components, DEGREES_T, Dwgs_User, FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_ARC::end_x, FABMASTER::GRAPHIC_RECTANGLE::end_x, FABMASTER::GRAPHIC_LINE::end_y, FABMASTER::GRAPHIC_ARC::end_y, FABMASTER::GRAPHIC_RECTANGLE::end_y, F_Cu, F_Fab, F_SilkS, FOOTPRINT::Flip(), PCB_SHAPE::Flip(), Flip(), BOARD::FlipLayer(), SHAPE_POLY_SET::Fracture(), SHAPE_ARC::GetArcMid(), SHAPE_ARC::GetCenter(), PCB_SHAPE::GetCenter(), BOARD::GetDesignSettings(), BOARD::GetFileName(), PCB_SHAPE::GetLayer(), 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, m_filename, PCB_SHAPE::Mirror(), SHAPE_ARC::Mirror(), SHAPE_POLY_SET::Mirror(), SHAPE_POLY_SET::Move(), NETINFO_LIST::NetsByName(), SHAPE_POLY_SET::NewOutline(), EDA_ANGLE::Normalized(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), pad, pad_shapes, pads, LIB_ID::Parse(), pin, pin_nets, pins, SHAPE_POLY_SET::PM_FAST, SHAPE_LINE_CHAIN::PointCount(), SHAPE_POLY_SET::Polygon(), PAD::PTHMask(), refdes, FOOTPRINT::Reference(), ReplaceIllegalFileNameChars(), FABMASTER::GRAPHIC_ARC::result, SHAPE_POLY_SET::Rotate(), FABMASTER::GRAPHIC_TEXT::rotation, EDA_SHAPE::SetCenter(), EDA_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), 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(), EDA_SHAPE::SetWidth(), PAD::SMDMask(), FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, FABMASTER::GRAPHIC_TEXT::text, traceFabmaster, PAD::UnplatedHoleMask(), 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 3530 of file import_fabmaster.cpp.
References BOARD::Add(), 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_POLY_SET::PM_FAST, SHAPE_LINE_CHAIN::PointCount(), 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 2834 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 2911 of file import_fabmaster.cpp.
References BOARD::Add(), checkpoint(), and netnames.
Referenced by LoadBoard().
Definition at line 3507 of file import_fabmaster.cpp.
References BOARD::Add(), Cmts_User, createBoardItems(), Dwgs_User, and Edge_Cuts.
Referenced by LoadBoard(), and loadZones().
|
private |
Definition at line 3297 of file import_fabmaster.cpp.
References BOARD::Add(), 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_POLY_SET::PM_FAST, SHAPE_LINE_CHAIN::PointCount(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetPolyShape(), EDA_SHAPE::SetShape(), PCB_SHAPE::SetStroke(), and traceIsOpen().
Referenced by LoadBoard(), and loadZones().
|
private |
Definition at line 2995 of file import_fabmaster.cpp.
References SHAPE_POLY_SET::AddHole(), SHAPE_LINE_CHAIN::Append(), SHAPE_POLY_SET::Append(), 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 2864 of file import_fabmaster.cpp.
References BOARD::Add(), PADSTACK::ALL_LAYERS, checkpoint(), BOARD::GetDesignSettings(), BOARD::GetNetInfo(), NETINFO_LIST::NetsByName(), pads, PCB_VIA::SetDrill(), PCB_VIA::SetDrillDefault(), BOARD_CONNECTED_ITEM::SetNet(), PCB_VIA::SetPosition(), PCB_VIA::SetWidth(), via, and vias.
Referenced by LoadBoard().
|
private |
Definition at line 3360 of file import_fabmaster.cpp.
References _, BOARD::Add(), KIGEOM::AddHoleIfValid(), LSET::AllCuMask(), SHAPE_LINE_CHAIN::Append(), Cmts_User, SHAPE_LINE_CHAIN::CPoint(), FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_LINE::end_y, VECTOR2< T >::Format(), getLayer(), BOARD_ITEM::GetLayerName(), BOARD_ITEM::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(), SHAPE_LINE_CHAIN::SetClosed(), ZONE::SetDoNotAllowCopperPour(), ZONE::SetDoNotAllowFootprints(), ZONE::SetDoNotAllowPads(), ZONE::SetDoNotAllowTracks(), ZONE::SetDoNotAllowVias(), 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.
Remove the filled areas in favor of the outlines
Zone1 will be the destination zone for the new net
We're looking for the netcode with the most overlaps to the un-netted zone
The overlap between outline1 and outline2 isn't perfect, so look for overlaps in both directions
Definition at line 2192 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 |
Rule areas do not have priorities
Definition at line 3586 of file import_fabmaster.cpp.
References UNDEFINED_LAYER, and BOARD::Zones().
Referenced by LoadBoard().
|
private |
Definition at line 1849 of file import_fabmaster.cpp.
References COMPCLASS_DISCRETE, COMPCLASS_IC, COMPCLASS_IO, and COMPCLASS_NONE.
Referenced by processFootprints().
|
private |
Definition at line 1834 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 2088 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.
Referenced by PCB_IO_FABMASTER::LoadBoard().
|
private |
Definition at line 1096 of file import_fabmaster.cpp.
References ANGLE_0, ANGLE_360, FABMASTER::GRAPHIC_ARC::center_x, FABMASTER::GRAPHIC_ARC::center_y, FABMASTER::GRAPHIC_ARC::clockwise, 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 1147 of file import_fabmaster.cpp.
References _, 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 1372 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 931 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, name, pad_shapes, processGraphic(), processScaleFactor(), and rows.
Referenced by Process().
|
private |
Definition at line 1225 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 1866 of file import_fabmaster.cpp.
References _, components, empty(), getColFromName(), KiROUND(), parseCompClass(), parseSymType(), processScaleFactor(), readDouble(), refdes, 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 1490 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, 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 1438 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 856 of file import_fabmaster.cpp.
References _, getColFromName(), layers, FABMASTER::FABMASTER_LAYER::name, FABMASTER::FABMASTER_LAYER::positive, processScaleFactor(), and rows.
Referenced by Process().
|
private |
Definition at line 1080 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 2035 of file import_fabmaster.cpp.
References _, getColFromName(), 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 1266 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 350 of file import_fabmaster.cpp.
References _, FABMASTER::FABMASTER_LAYER::conductive, getColFromName(), FABMASTER::FABMASTER_LAYER::id, layers, FABMASTER::FABMASTER_LAYER::name, readInt(), 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 428 of file import_fabmaster.cpp.
References _, B_Cu, F_Cu, getColFromName(), KiROUND(), layers, pad, pads, processScaleFactor(), readDouble(), 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 1962 of file import_fabmaster.cpp.
References _, getColFromName(), KiROUND(), pin, pins, processScaleFactor(), readDouble(), and rows.
Referenced by Process().
|
private |
Definition at line 1290 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(), and readDouble().
Referenced by processGraphic().
|
private |
Definition at line 1203 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 277 of file import_fabmaster.cpp.
References _, EDA_IU_SCALE::IU_PER_MILS, EDA_IU_SCALE::IU_PER_MM, pcbIUScale, and rows.
Referenced by processCustomPads(), processFootprints(), processGeometry(), processLayers(), processNets(), processPadStacks(), processPins(), processSimpleLayers(), processTraces(), and processVias().
|
private |
Definition at line 676 of file import_fabmaster.cpp.
References _, FABMASTER::FABMASTER_LAYER::conductive, getColFromName(), layers, FABMASTER::FABMASTER_LAYER::name, FABMASTER::FABMASTER_LAYER::positive, processScaleFactor(), and rows.
Referenced by Process().
|
private |
Definition at line 1253 of file import_fabmaster.cpp.
References processFigRectangle().
Referenced by processGraphic().
|
private |
|
private |
Definition at line 1392 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 1683 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, processGraphic(), processScaleFactor(), refdes, rows, traceFabmaster, traces, and zones.
Referenced by Process().
|
private |
A!VIA_X!VIA_Y!PAD_STACK_NAME!NET_NAME!TEST_POINT!
Definition at line 1628 of file import_fabmaster.cpp.
References _, getColFromName(), 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 118 of file import_fabmaster.cpp.
References m_filename, and rows.
Referenced by PCB_IO_FABMASTER::LoadBoard().
|
private |
Reads the double/integer value from a std string independent of the user locale.
aStr | string to generate value from |
Definition at line 90 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 104 of file import_fabmaster.cpp.
Referenced by processPadStackLayers().
|
staticprivate |
Set parameters for graphic text.
Definition at line 2301 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 3051 of file import_fabmaster.cpp.
References FABMASTER::GRAPHIC_LINE::end_x, FABMASTER::GRAPHIC_ARC::end_x, FABMASTER::GRAPHIC_LINE::end_y, FABMASTER::GRAPHIC_ARC::end_y, GR_SHAPE_ARC, GR_SHAPE_CIRCLE, GR_SHAPE_LINE, FABMASTER::TRACE::segment, FABMASTER::GRAPHIC_ITEM::shape, FABMASTER::GRAPHIC_ITEM::start_x, FABMASTER::GRAPHIC_ITEM::start_y, and FABMASTER::GRAPHIC_ITEM::subseq.
Referenced by loadPolygon().
|
private |
Definition at line 426 of file import_fabmaster.h.
Referenced by LoadBoard(), loadGraphics(), and processGeometry().
|
private |
Definition at line 427 of file import_fabmaster.h.
Referenced by loadFootprints(), and processGeometry().
|
private |
Definition at line 503 of file import_fabmaster.h.
Referenced by LoadBoard(), loadFootprints(), and processFootprints().
|
private |
Definition at line 98 of file import_fabmaster.h.
|
private |
Definition at line 99 of file import_fabmaster.h.
|
private |
Definition at line 100 of file import_fabmaster.h.
|
private |
Definition at line 97 of file import_fabmaster.h.
|
private |
Definition at line 101 of file import_fabmaster.h.
|
private |
Definition at line 532 of file import_fabmaster.h.
|
private |
Definition at line 334 of file import_fabmaster.h.
Referenced by assignLayers(), getLayer(), LoadBoard(), loadLayers(), processLayers(), processPadStackLayers(), processPadStacks(), and processSimpleLayers().
|
private |
Definition at line 635 of file import_fabmaster.h.
Referenced by checkpoint(), and LoadBoard().
|
private |
Definition at line 77 of file import_fabmaster.h.
Referenced by LoadBoard(), loadFootprints(), and Read().
|
private |
Definition at line 636 of file import_fabmaster.h.
Referenced by checkpoint().
|
private |
optional; may be nullptr
Definition at line 634 of file import_fabmaster.h.
Referenced by checkpoint(), and LoadBoard().
|
private |
for progress reporting
Definition at line 637 of file import_fabmaster.h.
Referenced by checkpoint(), and LoadBoard().
|
private |
Definition at line 181 of file import_fabmaster.h.
Referenced by LoadBoard(), loadNets(), and processNets().
|
private |
Definition at line 358 of file import_fabmaster.h.
Referenced by loadFootprints(), and processCustomPads().
|
private |
Definition at line 139 of file import_fabmaster.h.
Referenced by loadFootprints(), loadVias(), and processPadStacks().
|
private |
Definition at line 180 of file import_fabmaster.h.
Referenced by loadFootprints(), and processNets().
|
private |
Definition at line 530 of file import_fabmaster.h.
Referenced by loadFootprints(), and processPins().
|
private |
Definition at line 468 of file import_fabmaster.h.
|
private |
Definition at line 470 of file import_fabmaster.h.
Referenced by loadFootprints(), processFootprints(), 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 401 of file import_fabmaster.h.
|
private |
Definition at line 464 of file import_fabmaster.h.
Referenced by LoadBoard(), and processTraces().
|
private |
Definition at line 441 of file import_fabmaster.h.
Referenced by LoadBoard(), loadVias(), and processVias().
|
private |
Definition at line 466 of file import_fabmaster.h.
Referenced by LoadBoard(), loadZones(), and processTraces().