![]() |
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_shape.h>
#include <idf_parser.h>
#include <pad.h>
#include <build_version.h>
#include <wx/msgdlg.h>
#include "project.h"
#include "kiway.h"
#include "3d_cache/3d_cache.h"
#include "filename_resolver.h"
#include <convert_to_biu.h>
Go to the source code of this file.
Macros | |
#define | PCBNEW |
#define | LINE_WIDTH (Millimeter2iu( 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. More... | |
static void | idf_export_footprint (BOARD *aPcb, FOOTPRINT *aFootprint, IDF3_BOARD &aIDFBoard) |
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. More... | |
Variables | |
static FILENAME_RESOLVER * | resolver |
#define LINE_WIDTH (Millimeter2iu( 0.1 )) |
Definition at line 54 of file export_idf.cpp.
#define PCBNEW |
Definition at line 48 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 279 of file export_idf.cpp.
References PNS::angle(), B_Cu, BOARD_ITEM::GetLayer(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), FP_TEXT::GetShownText(), FOOTPRINT::Models(), NPTH, pad, PAD_DRILL_SHAPE_OBLONG, FOOTPRINT::Pads(), FOOTPRINT::Reference(), FILENAME_RESOLVER::ResolvePath(), resolver, RotatePoint(), scale, TO_UTF8, and FOOTPRINT::Value().
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 64 of file export_idf.cpp.
References ARC, CIRCLE, BOARD::Drawings(), Edge_Cuts, EDA_SHAPE::GetArcAngle(), BOARD::GetBoardEdgesBoundingBox(), PCB_SHAPE::GetCenter(), EDA_SHAPE::GetEnd(), EDA_RECT::GetOrigin(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetShape(), EDA_RECT::GetSize(), EDA_SHAPE::GetStart(), left, LINE_WIDTH, PCB_SHAPE_T, RECT, right, scale, and SEGMENT.
Referenced by PCB_EDIT_FRAME::Export_IDF3().
|
static |
Definition at line 57 of file export_idf.cpp.
Referenced by PCB_EDIT_FRAME::Export_IDF3(), idf_export_footprint(), and ROUTER_TOOL::UpdateMessagePanel().