KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_io_easyedapro_v3_parser.cpp File Reference
#include "pcb_io_easyedapro_v3_parser.h"
#include <io/easyedapro/easyedapro_import_utils.h>
#include <memory>
#include <json_common.h>
#include <core/json_serializers.h>
#include <core/map_helpers.h>
#include <string_utils.h>
#include <wx/log.h>
#include <wx/base64.h>
#include <wx/mstream.h>
#include <footprint.h>
#include <board.h>
#include <pcb_group.h>
#include <pcb_shape.h>
#include <pcb_text.h>
#include <pcb_track.h>
#include <pcb_reference_image.h>
#include <geometry/shape_arc.h>
#include <geometry/shape_rect.h>
#include <zone.h>
#include <pad.h>
#include <fix_board_shape.h>
#include <board_design_settings.h>
#include <netclass.h>
#include <project/net_settings.h>
#include <font/font.h>
#include <core/mirror.h>
#include <convert_basic_shapes_to_polygon.h>
#include <trace_helpers.h>

Go to the source code of this file.

Functions

static wxString safeSpacingToMm (double aMil)
 
static void V3AlignText (EDA_TEXT *text, int align)
 
static int V3AlignToOriginCode (const wxString &aAlign)
 

Variables

static const wxString safeSpacingNames []
 
static const wxString safeSpacingConditions []
 
static const int SHAPE_JOIN_DISTANCE = pcbIUScale.mmToIU( 1.5 )
 

Function Documentation

◆ safeSpacingToMm()

static wxString safeSpacingToMm ( double aMil)
static

◆ V3AlignText()

◆ V3AlignToOriginCode()

static int V3AlignToOriginCode ( const wxString & aAlign)
static

Variable Documentation

◆ safeSpacingConditions

const wxString safeSpacingConditions[]
static
Initial value:
= { wxS( "A.Type == 'Track'" ),
wxS( "A.Type == 'Pad' && A.Pad_Type == 'SMD'" ),
wxS( "A.Type == 'Pad' && A.Pad_Type == 'Through-hole'" ),
wxEmptyString,
wxEmptyString,
wxS( "A.Type == 'Via'" ),
wxEmptyString,
wxEmptyString,
wxEmptyString,
wxEmptyString,
wxEmptyString,
wxEmptyString,
wxEmptyString }

Definition at line 78 of file pcb_io_easyedapro_v3_parser.cpp.

Referenced by PCB_IO_EASYEDAPRO_V3_PARSER::GenerateSafeSpacingRules().

◆ safeSpacingNames

const wxString safeSpacingNames[]
static
Initial value:
= { wxS( "Track" ),
wxS( "SMD Pad" ),
wxS( "TH Pad" ),
wxS( "SMD Test Point" ),
wxS( "TH Test Point" ),
wxS( "Via" ),
wxS( "Fill Region / Teardrop" ),
wxS( "Copper / Plane Zone" ),
wxS( "Slot Region" ),
wxS( "Line" ),
wxS( "Text / Image" ),
wxS( "Board Outline" ),
wxS( "Hole" ) }

Definition at line 62 of file pcb_io_easyedapro_v3_parser.cpp.

Referenced by PCB_IO_EASYEDAPRO_V3_PARSER::GenerateSafeSpacingRules().

◆ SHAPE_JOIN_DISTANCE

const int SHAPE_JOIN_DISTANCE = pcbIUScale.mmToIU( 1.5 )
static

Definition at line 178 of file pcb_io_easyedapro_v3_parser.cpp.