KiCad PCB EDA Suite
|
#include <sch_plugins/eagle/sch_eagle_plugin.h>
#include <locale_io.h>
#include <string_utf8_map.h>
#include <algorithm>
#include <memory>
#include <wx/filename.h>
#include <wx/string.h>
#include <wx/tokenzr.h>
#include <wx/wfstream.h>
#include <wx/txtstrm.h>
#include <wx/xml/xml.h>
#include <symbol_library.h>
#include <plugins/eagle/eagle_parser.h>
#include <string_utils.h>
#include <gr_text.h>
#include <lib_shape.h>
#include <lib_id.h>
#include <lib_pin.h>
#include <lib_text.h>
#include <project.h>
#include <project_sch.h>
#include <sch_bus_entry.h>
#include <sch_symbol.h>
#include <project/net_settings.h>
#include <sch_edit_frame.h>
#include <sch_junction.h>
#include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_marker.h>
#include <sch_screen.h>
#include <sch_shape.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <sch_label.h>
#include <schematic.h>
#include <symbol_lib_table.h>
#include <wildcards_and_files_ext.h>
#include <progress_reporter.h>
Go to the source code of this file.
Functions | |
static int | countChildren (wxXmlNode *aCurrentNode, const wxString &aName) |
Provide an easy access to the children of an XML node via their names. More... | |
static BOX2I | getSheetBbox (SCH_SHEET *aSheet) |
Extract the net name part from a pin name (e.g. return 'GND' for pin named 'GND@2') More... | |
static wxString | extractNetName (const wxString &aPinName) |
static SYMBOL_ORIENTATION_T | kiCadComponentRotation (float eagleDegrees) |
static void | eagleToKicadAlignment (EDA_TEXT *aText, int aEagleAlignment, int aRelDegress, bool aMirror, bool aSpin, int aAbsDegress) |
Variables | |
static const std::map< wxString, ELECTRICAL_PINTYPE > | pinDirectionsMap |
Map of EAGLE pin type values to KiCad pin type values. More... | |
|
static |
Provide an easy access to the children of an XML node via their names.
aCurrentNode | is a pointer to a wxXmlNode, whose children will be mapped. |
aName | the name of the specific child names to be counted. |
Definition at line 95 of file sch_eagle_plugin.cpp.
Referenced by SCH_EAGLE_PLUGIN::loadLibrary(), SCH_EAGLE_PLUGIN::loadSchematic(), and SCH_EAGLE_PLUGIN::loadSegments().
|
static |
Definition at line 257 of file sch_eagle_plugin.cpp.
References ANGLE_VERTICAL, ETEXT::BOTTOM_CENTER, ETEXT::BOTTOM_LEFT, ETEXT::BOTTOM_RIGHT, ETEXT::CENTER, ETEXT::CENTER_LEFT, ETEXT::CENTER_RIGHT, GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, GR_TEXT_V_ALIGN_BOTTOM, GR_TEXT_V_ALIGN_CENTER, GR_TEXT_V_ALIGN_TOP, EDA_TEXT::SetHorizJustify(), EDA_TEXT::SetTextAngle(), EDA_TEXT::SetVertJustify(), ETEXT::TOP_CENTER, ETEXT::TOP_LEFT, and ETEXT::TOP_RIGHT.
Referenced by SCH_EAGLE_PLUGIN::loadInstance(), and SCH_EAGLE_PLUGIN::loadTextAttributes().
|
inlinestatic |
Definition at line 129 of file sch_eagle_plugin.cpp.
Referenced by SCH_EAGLE_PLUGIN::addImplicitConnections().
Extract the net name part from a pin name (e.g. return 'GND' for pin named 'GND@2')
Definition at line 117 of file sch_eagle_plugin.cpp.
References SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and BOX2< Vec >::Merge().
Referenced by SCH_EAGLE_PLUGIN::loadSchematic(), and SCH_EAGLE_PLUGIN::loadSheet().
|
static |
Definition at line 238 of file sch_eagle_plugin.cpp.
References SYM_ORIENT_0, SYM_ORIENT_180, SYM_ORIENT_270, and SYM_ORIENT_90.
Referenced by SCH_EAGLE_PLUGIN::loadInstance().
|
static |
Map of EAGLE pin type values to KiCad pin type values.
Definition at line 75 of file sch_eagle_plugin.cpp.
Referenced by SCH_EAGLE_PLUGIN::loadSymbol().