KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dxf_import_plugin.h File Reference
#include "graphics_import_plugin.h"
#include "graphics_importer_buffer.h"
#include "wx/translation.h"
#include <dl_creationadapter.h>
#include <dl_dxf.h>
#include <math/vector3.h>
#include <math/matrix3x3.h>
#include <wildcards_and_files_ext.h>
#include <list>

Go to the source code of this file.

Classes

struct  SPLINE_CTRL_POINT
 A helper class to store a spline control point (in X,Y plane only) More...
 
class  DXF2BRD_ENTITY_DATA
 A helper class to parse a DXF entity (polyline and spline) More...
 
class  DXF_IMPORT_LAYER
 A helper class to hold layer settings temporarily during import. More...
 
class  DXF_IMPORT_BLOCK
 A helper class to hold layer settings temporarily during import. More...
 
class  DXF_IMPORT_STYLE
 A helper class to hold style settings temporarily during import. More...
 
class  DXF_IMPORT_PLUGIN
 

Macros

#define DXF_IMPORT_LINEWEIGHT_BY_LAYER   -1
 
#define DXF_IMPORT_LINEWEIGHT_BY_BLOCK   -2
 
#define DXF_IMPORT_LINEWEIGHT_BY_LW_DEFAULT   -3
 
#define ON_UNSUPPORTED(error_msg)
 This class import DXF ASCII files and convert basic entities to board entities.
 

Enumerations

enum class  DXF_IMPORT_UNITS {
  DEFAULT = 0 , INCHES = 1 , FEET = 2 , MILLIMETERS = 4 ,
  CENTIMETERS = 5 , METERS = 6 , MICROINCHES = 8 , MILS = 9 ,
  YARDS = 10 , ANGSTROMS = 11 , NANOMETERS = 12 , MICRONS = 13 ,
  DECIMETERS = 14 , DECAMETERS = 15 , HECTOMETERS = 16 , GIGAMETERS = 17 ,
  ASTRONOMICAL = 18 , LIGHTYEARS = 19 , PARSECS = 20
}
 DXF Units enum with values as specified in DXF 2012 Specification. More...
 

Macro Definition Documentation

◆ DXF_IMPORT_LINEWEIGHT_BY_BLOCK

#define DXF_IMPORT_LINEWEIGHT_BY_BLOCK   -2

Definition at line 117 of file dxf_import_plugin.h.

◆ DXF_IMPORT_LINEWEIGHT_BY_LAYER

#define DXF_IMPORT_LINEWEIGHT_BY_LAYER   -1

Definition at line 116 of file dxf_import_plugin.h.

◆ DXF_IMPORT_LINEWEIGHT_BY_LW_DEFAULT

#define DXF_IMPORT_LINEWEIGHT_BY_LW_DEFAULT   -3

Definition at line 118 of file dxf_import_plugin.h.

◆ ON_UNSUPPORTED

#define ON_UNSUPPORTED (   error_msg)
Value:
reportMessage( wxString::Format( _( "%s is not supported." ), \
error_msg ) )
#define _(s)

This class import DXF ASCII files and convert basic entities to board entities.

It depends on the dxflib library.

Definition at line 210 of file dxf_import_plugin.h.

Enumeration Type Documentation

◆ DXF_IMPORT_UNITS

enum class DXF_IMPORT_UNITS
strong

DXF Units enum with values as specified in DXF 2012 Specification.

Enumerator
DEFAULT 
INCHES 
FEET 
MILLIMETERS 
CENTIMETERS 
METERS 
MICROINCHES 
MILS 
YARDS 
ANGSTROMS 
NANOMETERS 
MICRONS 
DECIMETERS 
DECAMETERS 
HECTOMETERS 
GIGAMETERS 
ASTRONOMICAL 
LIGHTYEARS 
PARSECS 

Definition at line 182 of file dxf_import_plugin.h.