KiCad PCB EDA Suite
|
Export IPC-D-356 test format. More...
#include <confirm.h>
#include <gestfich.h>
#include <kiface_base.h>
#include <pcb_edit_frame.h>
#include <trigo.h>
#include <build_version.h>
#include <macros.h>
#include <wildcards_and_files_ext.h>
#include <locale_io.h>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <layer_range.h>
#include <pad.h>
#include <pcb_track.h>
#include <vector>
#include <cctype>
#include <math/util.h>
#include <export_d356.h>
#include <wx/filedlg.h>
Go to the source code of this file.
Functions | |
static int | compute_pad_access_code (BOARD *aPcb, LSET aLayerMask) |
static int | iu_to_d356 (int iu, int clamp) |
static void | build_pad_testpoints (BOARD *aPcb, std::vector< D356_RECORD > &aRecords) |
static int | via_access_code (BOARD *aPcb, int top_layer, int bottom_layer) |
static void | build_via_testpoints (BOARD *aPcb, std::vector< D356_RECORD > &aRecords) |
static const wxString | intern_new_d356_netname (const wxString &aNetname, std::map< wxString, wxString > &aMap, std::set< wxString > &aSet) |
Export IPC-D-356 test format.
Definition in file export_d356.cpp.
|
static |
Definition at line 96 of file export_d356.cpp.
References D356_RECORD::access, B_Cu, B_Mask, CIRCLE, compute_pad_access_code(), CONN, D356_RECORD::drill, F_Cu, F_Mask, BOARD::Footprints(), BOARD_DESIGN_SETTINGS::GetAuxOrigin(), BOARD::GetDesignSettings(), D356_RECORD::hole, D356_RECORD::mechanical, D356_RECORD::midpoint, D356_RECORD::netname, NPTH, pad, D356_RECORD::pin, D356_RECORD::refdes, D356_RECORD::rotation, D356_RECORD::smd, SMD, D356_RECORD::soldermask, VECTOR2< T >::x, D356_RECORD::x_location, D356_RECORD::x_size, VECTOR2< T >::y, D356_RECORD::y_location, and D356_RECORD::y_size.
Referenced by IPC356D_WRITER::Write().
|
static |
Definition at line 176 of file export_d356.cpp.
References D356_RECORD::access, PADSTACK::ALL_LAYERS, B_Cu, B_Mask, D356_RECORD::drill, F_Cu, F_Mask, BOARD_DESIGN_SETTINGS::GetAuxOrigin(), BOARD::GetDesignSettings(), NETINFO_ITEM::GetNetname(), D356_RECORD::hole, D356_RECORD::mechanical, D356_RECORD::midpoint, D356_RECORD::netname, PADSTACK::NORMAL, PCB_VIA_T, D356_RECORD::pin, D356_RECORD::refdes, D356_RECORD::rotation, D356_RECORD::smd, D356_RECORD::soldermask, BOARD::Tracks(), via, via_access_code(), VECTOR2< T >::x, D356_RECORD::x_location, D356_RECORD::x_size, VECTOR2< T >::y, D356_RECORD::y_location, and D356_RECORD::y_size.
Referenced by IPC356D_WRITER::Write().
Definition at line 54 of file export_d356.cpp.
References LSET::AllCuMask(), B_Cu, F_Cu, BOARD::GetCopperLayerCount(), and In1_Cu.
Referenced by build_pad_testpoints().
|
static |
Definition at line 229 of file export_d356.cpp.
Referenced by IPC356D_WRITER::write_D356_records().
|
static |
Definition at line 87 of file export_d356.cpp.
References EDA_IU_SCALE::IU_PER_MILS, KiROUND(), and pcbIUScale.
Referenced by IPC356D_WRITER::write_D356_records().
|
static |
Definition at line 155 of file export_d356.cpp.
References B_Cu, F_Cu, and BOARD::GetCopperLayerCount().
Referenced by build_via_testpoints().