KiCad PCB EDA Suite
|
#include <sch_io/eagle/sch_io_eagle.h>
#include <locale_io.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 <font/fontconfig.h>
#include <io/eagle/eagle_parser.h>
#include <lib_id.h>
#include <progress_reporter.h>
#include <project.h>
#include <project/net_settings.h>
#include <project_sch.h>
#include <sch_bus_entry.h>
#include <sch_edit_frame.h>
#include <sch_io/kicad_legacy/sch_io_kicad_legacy.h>
#include <sch_junction.h>
#include <sch_label.h>
#include <sch_marker.h>
#include <sch_pin.h>
#include <sch_screen.h>
#include <sch_shape.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <sch_sheet_pin.h>
#include <sch_symbol.h>
#include <schematic.h>
#include <string_utils.h>
#include <symbol_lib_table.h>
#include <wildcards_and_files_ext.h>
Go to the source code of this file.
Functions | |
static BOX2I | getSheetBbox (SCH_SHEET *aSheet) |
Extract the net name part from a pin name (e.g. return 'GND' for pin named 'GND@2') | |
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. | |
|
static |
Definition at line 215 of file sch_io_eagle.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_IO_EAGLE::loadInstance(), and SCH_IO_EAGLE::loadTextAttributes().
|
inlinestatic |
Definition at line 98 of file sch_io_eagle.cpp.
Referenced by SCH_IO_EAGLE::addImplicitConnections().
Extract the net name part from a pin name (e.g. return 'GND' for pin named 'GND@2')
Definition at line 86 of file sch_io_eagle.cpp.
References SCH_SHEET::GetScreen(), SCH_SCREEN::Items(), and BOX2< Vec >::Merge().
Referenced by SCH_IO_EAGLE::loadSchematic(), and SCH_IO_EAGLE::loadSheet().
|
static |
Definition at line 195 of file sch_io_eagle.cpp.
References SYM_ORIENT_0, SYM_ORIENT_180, SYM_ORIENT_270, and SYM_ORIENT_90.
Referenced by SCH_IO_EAGLE::loadInstance().
|
static |
Map of EAGLE pin type values to KiCad pin type values.
Compute a bounding box for all items in a schematic sheet
Definition at line 72 of file sch_io_eagle.cpp.
Referenced by SCH_IO_EAGLE::loadSymbol().