KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pad_shapes.h File Reference
#include <string>

Go to the source code of this file.

Enumerations

enum class  PAD_SHAPE : int {
  CIRCLE , RECTANGLE , OVAL , TRAPEZOID ,
  ROUNDRECT , CHAMFERED_RECT , CUSTOM
}
 The set of pad shapes, used with PAD::{Set,Get}Shape() More...
 
enum  PAD_DRILL_SHAPE_T { PAD_DRILL_SHAPE_CIRCLE , PAD_DRILL_SHAPE_OBLONG }
 The set of pad drill shapes, used with PAD::{Set,Get}DrillShape() More...
 
enum class  PAD_ATTRIB { PTH , SMD , CONN , NPTH }
 The set of pad shapes, used with PAD::{Set,Get}Attribute(). More...
 
enum class  PAD_PROP {
  NONE , BGA , FIDUCIAL_GLBL , FIDUCIAL_LOCAL ,
  TESTPOINT , HEATSINK , CASTELLATED
}
 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_ATTRIB

enum class PAD_ATTRIB
strong

The set of pad shapes, used with PAD::{Set,Get}Attribute().

The double name is for convenience of Python devs

Enumerator
PTH 

Plated through hole pad.

SMD 

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

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.

NPTH 

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

Definition at line 64 of file pad_shapes.h.

◆ PAD_DRILL_SHAPE_T

The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()

Enumerator
PAD_DRILL_SHAPE_CIRCLE 
PAD_DRILL_SHAPE_OBLONG 

Definition at line 52 of file pad_shapes.h.

◆ PAD_PROP

enum class PAD_PROP
strong

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
NONE 

no special fabrication property

BGA 

Smd pad, used in BGA footprints.

FIDUCIAL_GLBL 

a fiducial (usually a smd) for the full board

FIDUCIAL_LOCAL 

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

TESTPOINT 

a test point pad

HEATSINK 

a pad used as heat sink, usually in SMD footprints

CASTELLATED 

a pad with a castellated through hole

Definition at line 80 of file pad_shapes.h.

◆ PAD_SHAPE

enum class PAD_SHAPE : int
strong

The set of pad shapes, used with PAD::{Set,Get}Shape()

--> DO NOT REORDER, PCB_IO_KICAD_LEGACY is dependent on the integer values <–

Enumerator
CIRCLE 
RECTANGLE 
OVAL 
TRAPEZOID 
ROUNDRECT 
CHAMFERED_RECT 
CUSTOM 

Definition at line 34 of file pad_shapes.h.