KiCad PCB EDA Suite
|
Public Member Functions | |
HYPERLYNX_EXPORTER () | |
~HYPERLYNX_EXPORTER () | |
virtual bool | Run () override |
void | SetOutputFilename (const wxFileName &aPath) |
void | SetBoard (BOARD *aBoard) |
void | SetReporter (REPORTER *aReporter) |
void | SetProgressReporter (PROGRESS_REPORTER *aProgressReporter) |
Protected Attributes | |
std::map< std::string, UTF8 > | m_properties |
BOARD * | m_board = nullptr |
wxFileName | m_outputFilePath |
REPORTER * | m_reporter = nullptr |
PROGRESS_REPORTER * | m_progressReporter = nullptr |
Private Member Functions | |
HYPERLYNX_PAD_STACK * | addPadStack (HYPERLYNX_PAD_STACK stack) |
const std::string | formatPadShape (const HYPERLYNX_PAD_STACK &aStack) |
bool | generateHeaders () |
bool | writeBoardInfo () |
bool | writeStackupInfo () |
bool | writeDevices () |
bool | writePadStacks () |
bool | writeNets () |
bool | writeNetObjects (const std::vector< BOARD_ITEM * > &aObjects) |
void | writeSinglePadStack (HYPERLYNX_PAD_STACK &aStack) |
const std::vector< BOARD_ITEM * > | collectNetObjects (int netcode) |
Private Attributes | |
std::vector< HYPERLYNX_PAD_STACK * > | m_padStacks |
std::map< BOARD_ITEM *, HYPERLYNX_PAD_STACK * > | m_padMap |
std::shared_ptr< FILE_OUTPUTFORMATTER > | m_out |
int | m_polyId |
Definition at line 121 of file export_hyperlynx.cpp.
|
inline |
Definition at line 124 of file export_hyperlynx.cpp.
|
inline |
Definition at line 128 of file export_hyperlynx.cpp.
|
inlineprivate |
Definition at line 133 of file export_hyperlynx.cpp.
References m_padStacks, and HYPERLYNX_PAD_STACK::SetId().
Referenced by writePadStacks().
|
private |
Definition at line 560 of file export_hyperlynx.cpp.
References LSET::AllCuMask(), BOARD::Footprints(), BOARD_EXPORTER_BASE::m_board, pad, BOARD::Tracks(), and BOARD::Zones().
Referenced by writeNets().
|
inlineprivate |
Definition at line 147 of file export_hyperlynx.cpp.
References _, iu2hyp(), HYPERLYNX_PAD_STACK::m_angle, BOARD_EXPORTER_BASE::m_reporter, HYPERLYNX_PAD_STACK::m_shape, HYPERLYNX_PAD_STACK::m_sx, HYPERLYNX_PAD_STACK::m_sy, REPORTER::Report(), RPT_SEVERITY_INFO, and RPT_SEVERITY_WARNING.
Referenced by writeSinglePadStack().
|
private |
|
overridevirtual |
Implements BOARD_EXPORTER_BASE.
Definition at line 639 of file export_hyperlynx.cpp.
References generateHeaders(), m_out, BOARD_EXPORTER_BASE::m_outputFilePath, writeBoardInfo(), writeDevices(), writeNets(), writePadStacks(), and writeStackupInfo().
Referenced by ExportBoardToHyperlynx().
|
inlineinherited |
Definition at line 51 of file board_exporter_base.h.
References BOARD_EXPORTER_BASE::m_board.
Referenced by ExportBoardToHyperlynx().
|
inlineinherited |
Definition at line 46 of file board_exporter_base.h.
References BOARD_EXPORTER_BASE::m_outputFilePath.
Referenced by ExportBoardToHyperlynx().
|
inlineinherited |
Definition at line 61 of file board_exporter_base.h.
References BOARD_EXPORTER_BASE::m_progressReporter.
|
inlineinherited |
Definition at line 56 of file board_exporter_base.h.
References BOARD_EXPORTER_BASE::m_reporter.
|
private |
Definition at line 282 of file export_hyperlynx.cpp.
References _, SEG::A, SEG::B, SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CSegment(), BOARD::GetBoardPolygonOutlines(), BOARD::GetFileName(), iu2hyp(), BOARD_EXPORTER_BASE::m_board, m_out, SHAPE_POLY_SET::OutlineCount(), SHAPE_LINE_CHAIN::SegmentCount(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by Run().
|
private |
Definition at line 375 of file export_hyperlynx.cpp.
References BOARD::Footprints(), BOARD::GetLayerName(), BOARD_EXPORTER_BASE::m_board, and m_out.
Referenced by Run().
|
private |
Definition at line 424 of file export_hyperlynx.cpp.
References SHAPE_POLY_SET::CHole(), SHAPE_POLY_SET::CloneDropTriangulation(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), BOARD::GetLayerName(), SHAPE_POLY_SET::HoleCount(), iu2hyp(), BOARD_EXPORTER_BASE::m_board, m_out, m_padMap, m_polyId, SHAPE_POLY_SET::OutlineCount(), pad, SHAPE_POLY_SET::PM_FAST, SHAPE_LINE_CHAIN::PointCount(), SHAPE_POLY_SET::Simplify(), via, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by writeNets().
|
private |
Definition at line 601 of file export_hyperlynx.cpp.
References collectNetObjects(), BOARD::GetNetInfo(), BOARD_EXPORTER_BASE::m_board, m_out, m_polyId, and writeNetObjects().
Referenced by Run().
|
private |
Definition at line 397 of file export_hyperlynx.cpp.
References addPadStack(), BOARD::Footprints(), BOARD_EXPORTER_BASE::m_board, m_padMap, m_padStacks, pad, BOARD::Tracks(), via, and writeSinglePadStack().
Referenced by Run().
|
private |
Definition at line 254 of file export_hyperlynx.cpp.
References LSET::AllCuMask(), formatPadShape(), BOARD::GetEnabledLayers(), BOARD::GetLayerName(), iu2hyp(), BOARD_EXPORTER_BASE::m_board, HYPERLYNX_PAD_STACK::m_drill, HYPERLYNX_PAD_STACK::m_id, HYPERLYNX_PAD_STACK::m_layers, m_out, and LSET::Seq().
Referenced by writePadStacks().
|
private |
Definition at line 315 of file export_hyperlynx.cpp.
References BS_ITEM_TYPE_COPPER, BS_ITEM_TYPE_DIELECTRIC, LSET::CuStack(), BOARD::GetDesignSettings(), BOARD_DESIGN_SETTINGS::GetEnabledLayers(), BOARD::GetLayerName(), BOARD_STACKUP::GetList(), BOARD_DESIGN_SETTINGS::GetStackupDescriptor(), iu2hyp(), BOARD_EXPORTER_BASE::m_board, m_out, and TO_UTF8.
Referenced by Run().
|
protectedinherited |
Definition at line 70 of file board_exporter_base.h.
Referenced by collectNetObjects(), BOARD_EXPORTER_BASE::SetBoard(), writeBoardInfo(), writeDevices(), writeNetObjects(), writeNets(), writePadStacks(), writeSinglePadStack(), and writeStackupInfo().
|
private |
Definition at line 208 of file export_hyperlynx.cpp.
Referenced by generateHeaders(), Run(), writeBoardInfo(), writeDevices(), writeNetObjects(), writeNets(), writeSinglePadStack(), and writeStackupInfo().
|
protectedinherited |
Definition at line 71 of file board_exporter_base.h.
Referenced by Run(), and BOARD_EXPORTER_BASE::SetOutputFilename().
|
private |
Definition at line 206 of file export_hyperlynx.cpp.
Referenced by writeNetObjects(), and writePadStacks().
|
private |
Definition at line 205 of file export_hyperlynx.cpp.
Referenced by addPadStack(), and writePadStacks().
|
private |
Definition at line 209 of file export_hyperlynx.cpp.
Referenced by writeNetObjects(), and writeNets().
|
protectedinherited |
Definition at line 73 of file board_exporter_base.h.
Referenced by BOARD_EXPORTER_BASE::SetProgressReporter().
|
protectedinherited |
Definition at line 69 of file board_exporter_base.h.
|
protectedinherited |
Definition at line 72 of file board_exporter_base.h.
Referenced by formatPadShape(), and BOARD_EXPORTER_BASE::SetReporter().