KiCad PCB EDA Suite
pad_shapes.h File Reference

Go to the source code of this file.

Enumerations

enum  PAD_SHAPE_T {
  PAD_SHAPE_CIRCLE, PAD_SHAPE_RECT, PAD_SHAPE_OVAL, PAD_SHAPE_TRAPEZOID,
  PAD_SHAPE_ROUNDRECT, PAD_SHAPE_CHAMFERED_RECT, PAD_SHAPE_CUSTOM
}
 Enum PAD_SHAPE_T is the set of pad shapes, used with D_PAD::{Set,Get}Shape() More...
 
enum  PAD_DRILL_SHAPE_T { PAD_DRILL_SHAPE_CIRCLE, PAD_DRILL_SHAPE_OBLONG }
 Enum PAD_DRILL_SHAPE_T is the set of pad drill shapes, used with D_PAD::{Set,Get}DrillShape() More...
 
enum  PAD_ATTR_T { PAD_ATTRIB_STANDARD, PAD_ATTRIB_SMD, PAD_ATTRIB_CONN, PAD_ATTRIB_HOLE_NOT_PLATED }
 Enum PAD_ATTR_T is the set of pad shapes, used with D_PAD::{Set,Get}Attribute() The double name is for convenience of Python devs. More...
 
enum  PAD_PROP_T {
  PAD_PROP_NONE, PAD_PROP_BGA, PAD_PROP_FIDUCIAL_GLBL, PAD_PROP_FIDUCIAL_LOCAL,
  PAD_PROP_TESTPOINT, PAD_PROP_HEATSINK, PAD_PROP_CASTELLATED
}
 Enum PAD_PROP_T is the set of pad properties used in Gerber files (Draw files, and P&P files) to define some properties in fabrication or test files. More...
 

Enumeration Type Documentation

◆ PAD_ATTR_T

enum PAD_ATTR_T

Enum PAD_ATTR_T is the set of pad shapes, used with D_PAD::{Set,Get}Attribute() The double name is for convenience of Python devs.

Enumerator
PAD_ATTRIB_STANDARD 

Usual pad.

PAD_ATTRIB_SMD 

Smd pad, appears on the solder paste layer (default)

PAD_ATTRIB_CONN 

Like smd, does not appear on the solder paste layer (default) note also has a special attribute in Gerber X files Used for edgecard connectors for instance.

PAD_ATTRIB_HOLE_NOT_PLATED 

like PAD_STANDARD, but not plated mechanical use only, no connection allowed

Definition at line 59 of file pad_shapes.h.

60 {
67 };
like PAD_STANDARD, but not plated mechanical use only, no connection allowed
Definition: pad_shapes.h:66
Smd pad, appears on the solder paste layer (default)
Definition: pad_shapes.h:62
Like smd, does not appear on the solder paste layer (default) note also has a special attribute in Ge...
Definition: pad_shapes.h:63

◆ PAD_DRILL_SHAPE_T

Enum PAD_DRILL_SHAPE_T is the set of pad drill shapes, used with D_PAD::{Set,Get}DrillShape()

Enumerator
PAD_DRILL_SHAPE_CIRCLE 
PAD_DRILL_SHAPE_OBLONG 

Definition at line 47 of file pad_shapes.h.

◆ PAD_PROP_T

enum PAD_PROP_T

Enum PAD_PROP_T is the set of pad properties used in Gerber files (Draw files, and P&P files) to define some properties in fabrication or test files.

Enumerator
PAD_PROP_NONE 

no special fabrication property

PAD_PROP_BGA 

Smd pad, used in BGA footprints.

PAD_PROP_FIDUCIAL_GLBL 

a fiducial (usually a smd) for the full board

PAD_PROP_FIDUCIAL_LOCAL 

a fiducial (usually a smd) local to the parent footprint

PAD_PROP_TESTPOINT 

a test point pad

PAD_PROP_HEATSINK 

a pad used as heat sink, usually in SMD footprints

PAD_PROP_CASTELLATED 

a pad with a castellated through hole

Definition at line 76 of file pad_shapes.h.

77 {
79  PAD_PROP_BGA,
85 };
no special fabrication property
Definition: pad_shapes.h:78
a fiducial (usually a smd) for the full board
Definition: pad_shapes.h:80
Smd pad, used in BGA footprints.
Definition: pad_shapes.h:79
a pad used as heat sink, usually in SMD footprints
Definition: pad_shapes.h:83
a pad with a castellated through hole
Definition: pad_shapes.h:84
a fiducial (usually a smd) local to the parent footprint
Definition: pad_shapes.h:81
a test point pad
Definition: pad_shapes.h:82

◆ PAD_SHAPE_T

Enum PAD_SHAPE_T is the set of pad shapes, used with D_PAD::{Set,Get}Shape()

Enumerator
PAD_SHAPE_CIRCLE 
PAD_SHAPE_RECT 
PAD_SHAPE_OVAL 
PAD_SHAPE_TRAPEZOID 
PAD_SHAPE_ROUNDRECT 
PAD_SHAPE_CHAMFERED_RECT 
PAD_SHAPE_CUSTOM 

Definition at line 31 of file pad_shapes.h.

32 {
38  PAD_SHAPE_CHAMFERED_RECT, // Rectangle with a champered corner ( and with rounded other corners)
39  PAD_SHAPE_CUSTOM // A shape defined by user, using a set of basic shapes
40  // (thick segments, circles, arcs, polygons
41 };