KiCad PCB EDA Suite
|
#include <list>
#include <locale_io.h>
#include <macros.h>
#include <pcb_edit_frame.h>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <fp_lib_table.h>
#include <idf_parser.h>
#include <pad.h>
#include <pcb_shape.h>
#include <build_version.h>
#include <project_pcb.h>
#include <wx/msgdlg.h>
#include "project.h"
#include "kiway.h"
#include "3d_cache/3d_cache.h"
#include "filename_resolver.h"
#include <base_units.h>
Go to the source code of this file.
Macros | |
#define | LINE_WIDTH (pcbIUScale.mmToIU( 0.1 )) |
Functions | |
static void | idf_export_outline (BOARD *aPcb, IDF3_BOARD &aIDFBoard) |
Retrieve line segment information from the edge layer and compiles the data into a form which can be output as an IDFv3 compliant #BOARD_OUTLINE section. | |
static void | idf_export_footprint (BOARD *aPcb, FOOTPRINT *aFootprint, IDF3_BOARD &aIDFBoard, bool aIncludeUnspecified, bool aIncludeDNP) |
Retrieve information from all board footprints, adds drill holes to the DRILLED_HOLES or BOARD_OUTLINE section as appropriate, Compiles data for the PLACEMENT section and compiles data for the library ELECTRICAL section. | |
Variables | |
static FILENAME_RESOLVER * | resolver |
#define LINE_WIDTH (pcbIUScale.mmToIU( 0.1 )) |
Definition at line 50 of file export_idf.cpp.
|
static |
Retrieve information from all board footprints, adds drill holes to the DRILLED_HOLES or BOARD_OUTLINE section as appropriate, Compiles data for the PLACEMENT section and compiles data for the library ELECTRICAL section.
Definition at line 272 of file export_idf.cpp.
References EDA_ANGLE::AsDegrees(), B_Cu, FP_LIB_TABLE::FindRow(), FP_SMD, FP_THROUGH_HOLE, FOOTPRINT::GetAttributes(), FOOTPRINT::GetFPID(), LIB_TABLE_ROW::GetFullURI(), FOOTPRINT::GetLayer(), LIB_ID::GetLibNickname(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), BOARD::GetProject(), PCB_TEXT::GetShownText(), FOOTPRINT::IsDNP(), FOOTPRINT::Models(), NPTH, OBLONG, pad, FOOTPRINT::Pads(), PROJECT_PCB::PcbFootprintLibs(), FOOTPRINT::Reference(), FILENAME_RESOLVER::ResolvePath(), resolver, RotatePoint(), scale, TO_UTF8, FOOTPRINT::Value(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PCB_EDIT_FRAME::Export_IDF3().
|
static |
Retrieve line segment information from the edge layer and compiles the data into a form which can be output as an IDFv3 compliant #BOARD_OUTLINE section.
Definition at line 60 of file export_idf.cpp.
References ARC, EDA_ANGLE::AsDegrees(), CIRCLE, BOARD::Drawings(), Edge_Cuts, EDA_SHAPE::GetArcAngle(), BOARD::GetBoardEdgesBoundingBox(), PCB_SHAPE::GetCenter(), EDA_SHAPE::GetEnd(), BOX2< Vec >::GetOrigin(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetShape(), BOX2< Vec >::GetSize(), EDA_SHAPE::GetStart(), left, LINE_WIDTH, PCB_SHAPE_T, RECTANGLE, right, scale, SEGMENT, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PCB_EDIT_FRAME::Export_IDF3().
|
static |
Definition at line 53 of file export_idf.cpp.
Referenced by PCB_TUNING_PATTERN::EditStart(), PCB_EDIT_FRAME::Export_IDF3(), PCB_TEXT::GetShownText(), PCB_TEXTBOX::GetShownText(), idf_export_footprint(), LoadBoard(), SCH_EDIT_FRAME::LoadDrawingSheet(), PCB_EDIT_FRAME::LoadDrawingSheet(), PCBNEW_JOBS_HANDLER::loadOverrideDrawingSheet(), and ROUTER_TOOL::UpdateMessagePanel().