KiCad PCB EDA Suite
specctra_export.cpp File Reference
#include <wxPcbStruct.h>
#include <confirm.h>
#include <gestfich.h>
#include <trigo.h>
#include <macros.h>
#include <set>
#include <map>
#include <boost/utility.hpp>
#include <class_board.h>
#include <class_module.h>
#include <class_edge_mod.h>
#include <class_track.h>
#include <class_zone.h>
#include <class_drawsegment.h>
#include <base_units.h>
#include <wildcards_and_files_ext.h>
#include <collectors.h>
#include <geometry/shape_poly_set.h>
#include <specctra.h>

Go to the source code of this file.

Namespaces

 DSN
 This source file implements export and import capabilities to the specctra dsn file format.
 

Typedefs

typedef std::map< wxString, int > DSN::PINMAP
 data type used to ensure unique-ness of pin names, holding (wxString and int) More...
 
typedef std::set< std::string > DSN::STRINGSET
 
typedef std::pair< STRINGSET::iterator, bool > DSN::STRINGSET_PAIR
 

Functions

static double DSN::scale (int kicadDist)
 Function scale converts a distance from PCBNEW internal units to the reported specctra dsn units in floating point format. More...
 
static double DSN::IU2um (int kicadDist)
 
static double DSN::mapX (int x)
 
static double DSN::mapY (int y)
 
static POINT DSN::mapPt (const wxPoint &pt)
 Function mapPt converts a KiCad point into a DSN file point. More...
 
static bool DSN::isRoundKeepout (D_PAD *aPad)
 Function isRoundKeepout decides if the pad is a copper-less through hole which needs to be made into a round keepout. More...
 
static PATHDSN::makePath (const POINT &aStart, const POINT &aEnd, const std::string &aLayerName)
 Function makePath creates a PATH element with a single straight line, a pair of vertices. More...
 

Variables

static const double safetyMargin = 0.1
 

Variable Documentation

const double safetyMargin = 0.1
static