KiCad PCB EDA Suite
dxf_import_plugin.h File Reference
#include "graphics_import_plugin.h"
#include "graphics_importer_buffer.h"
#include <dl_creationadapter.h>
#include <dl_dxf.h>
#include <math/vector3.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...
 
struct  DXF_ARBITRARY_AXIS
 Helper class representing the DXF specification's "arbitrary axis". 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. More...
 

Enumerations

enum  DXF_IMPORT_UNITS {
  DXF_IMPORT_UNITS::DEFAULT = 0, DXF_IMPORT_UNITS::INCHES = 1, DXF_IMPORT_UNITS::FEET = 2, DXF_IMPORT_UNITS::MILLIMETERS = 4,
  DXF_IMPORT_UNITS::CENTIMETERS = 5, DXF_IMPORT_UNITS::METERS = 6, DXF_IMPORT_UNITS::MICROINCHES = 8, DXF_IMPORT_UNITS::MILS = 9,
  DXF_IMPORT_UNITS::YARDS = 10, DXF_IMPORT_UNITS::ANGSTROMS = 11, DXF_IMPORT_UNITS::NANOMETERS = 12, DXF_IMPORT_UNITS::MICRONS = 13,
  DXF_IMPORT_UNITS::DECIMETERS = 14, DXF_IMPORT_UNITS::DECAMETERS = 15, DXF_IMPORT_UNITS::HECTOMETERS = 16, DXF_IMPORT_UNITS::GIGAMETERS = 17,
  DXF_IMPORT_UNITS::ASTRONOMICAL = 18, DXF_IMPORT_UNITS::LIGHTYEARS = 19, DXF_IMPORT_UNITS::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 115 of file dxf_import_plugin.h.

◆ DXF_IMPORT_LINEWEIGHT_BY_LAYER

#define DXF_IMPORT_LINEWEIGHT_BY_LAYER   -1

Definition at line 114 of file dxf_import_plugin.h.

◆ DXF_IMPORT_LINEWEIGHT_BY_LW_DEFAULT

#define DXF_IMPORT_LINEWEIGHT_BY_LW_DEFAULT   -3

Definition at line 116 of file dxf_import_plugin.h.

◆ ON_UNSUPPORTED

#define ON_UNSUPPORTED (   error_msg)

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

It depends on the dxflib library.

Definition at line 221 of file dxf_import_plugin.h.

Enumeration Type Documentation

◆ DXF_IMPORT_UNITS

enum 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 180 of file dxf_import_plugin.h.