KiCad PCB EDA Suite
Loading...
Searching...
No Matches
specctra_import.cpp File Reference
#include <confirm.h>
#include <gestfich.h>
#include <pcb_edit_frame.h>
#include <locale_io.h>
#include <macros.h>
#include <board.h>
#include <board_design_settings.h>
#include <footprint.h>
#include <pcb_group.h>
#include <pcb_track.h>
#include <connectivity/connectivity_data.h>
#include <view/view.h>
#include "specctra.h"
#include <math/util.h>
#include <pcbnew_settings.h>

Go to the source code of this file.

Namespaces

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

Functions

static int DSN::scale (double distance, UNIT_RES *aResolution)
 Function scale converts a session file distance to KiCad units of deci-mils.
 
static VECTOR2I DSN::mapPt (const POINT &aPoint, UNIT_RES *aResolution)
 Function mapPt translates a point from the Specctra Session format coordinate system to the KiCad coordinate system.
 
bool DSN::ImportSpecctraSession (BOARD *aBoard, const wxString &fullFileName)
 Helper method to import SES file to a board.