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_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...
 

Enumeration Type Documentation

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 58 of file pad_shapes.h.

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

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 46 of file pad_shapes.h.

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_CUSTOM 

Definition at line 31 of file pad_shapes.h.

32 {
38  PAD_SHAPE_CUSTOM // A shape defined by user, using a set of basic shapes
39  // (thick segments, circles, arcs, polygons
40 };