KiCad PCB EDA Suite
dcode.h File Reference
#include <vector>
#include <base_struct.h>
#include <gal/color4d.h>
#include <geometry/shape_poly_set.h>

Go to the source code of this file.

Classes

class  D_CODE
 Class D_CODE holds a gerber DCODE (also called Aperture) definition. More...
 

Macros

#define FIRST_DCODE   10
 
#define LAST_DCODE   999
 
#define TOOLS_MAX_COUNT   (LAST_DCODE + 1)
 

Enumerations

enum  APERTURE_T {
  APT_CIRCLE = 'C', APT_RECT = 'R', APT_OVAL = '0', APT_POLYGON = 'P',
  APT_MACRO = 'M'
}
 Enum APERTURE_T is the set of all gerber aperture types allowed, according to page 16 of http://gerbv.sourceforge.net/docs/rs274xrevd_e.pdf. More...
 
enum  APERTURE_DEF_HOLETYPE { APT_DEF_NO_HOLE = 0, APT_DEF_ROUND_HOLE, APT_DEF_RECT_HOLE }
 

Macro Definition Documentation

#define LAST_DCODE   999

Definition at line 72 of file dcode.h.

Referenced by GERBER_DRAW_ITEM::GetDcodeDescr().

Enumeration Type Documentation

Enumerator
APT_DEF_NO_HOLE 
APT_DEF_ROUND_HOLE 
APT_DEF_RECT_HOLE 

Definition at line 62 of file dcode.h.

enum APERTURE_T

Enum APERTURE_T is the set of all gerber aperture types allowed, according to page 16 of http://gerbv.sourceforge.net/docs/rs274xrevd_e.pdf.

Enumerator
APT_CIRCLE 
APT_RECT 
APT_OVAL 
APT_POLYGON 
APT_MACRO 

Definition at line 50 of file dcode.h.

50  {
51  APT_CIRCLE = 'C', // Flashed shape: Circle with or without hole
52  APT_RECT = 'R', // Flashed shape: Rectangle with or without hole
53  APT_OVAL = '0', // Flashed shape: Oval with or without hole
54  APT_POLYGON = 'P', // Flashed shape: Regular polygon (3 to 12 edges)
55  // with or without hole. Can be rotated
56  APT_MACRO = 'M' // Complex shape given by a macro definition (see AM_PRIMITIVE_ID)
57 };
Definition: dcode.h:53
Definition: dcode.h:52