Go to the source code of this file.
|
| namespace | DSN |
| | This source file implements export and import capabilities to the specctra dsn file format.
|
| |
|
| typedef std::map< wxString, int > | DSN::PINMAP |
| | data type used to ensure unique-ness of pin names, holding (wxString and int)
|
| |
|
| void | DSN::ExportBoardToSpecctraFile (BOARD *aBoard, const wxString &aFullFilename) |
| | Helper method to export board to DSN file.
|
| |
| static double | DSN::scale (int kicadDist) |
| | Convert a distance from Pcbnew internal units to the reported Specctra DSN units in floating point format.
|
| |
| static double | DSN::IU2um (int kicadDist) |
| |
| static double | DSN::mapX (int x) |
| |
| static double | DSN::mapY (int y) |
| |
| static POINT | DSN::mapPt (const VECTOR2I &pt) |
| | Convert a KiCad point into a DSN file point.
|
| |
| static POINT | DSN::mapPt (const VECTOR2I &pt, FOOTPRINT *aFootprint) |
| |
| static bool | DSN::isRoundKeepout (PAD *aPad) |
| | Decide if the pad is a copper-less through hole which needs to be made into a round keepout.
|
| |
| static PATH * | DSN::makePath (const POINT &aStart, const POINT &aEnd, const std::string &aLayerName) |
| | Create a PATH element with a single straight line, a pair of vertices.
|
| |
| static SPECCTRA_SHAPE_ID | DSN::appendPadstackShape (PADSTACK *aPadstack, PAD *aPad, PCB_LAYER_ID aPadLayer, const std::vector< std::string > &aLayerNames) |
| | Append the copper aPad carries on aPadLayer to aPadstack, one shape per Specctra layer id in aLayerNames, and return the identity of that copper.
|
| |
| static std::string | DSN::sanitizeForDSNString (const wxString &aValue) |
| |
◆ EXPORT_CUSTOM_PADS_CONVEX_HULL
| #define EXPORT_CUSTOM_PADS_CONVEX_HULL |