|
KiCad PCB EDA Suite
|
#include <memory>#include <optional>#include <wx/string.h>#include <api/serializable.h>#include <geometry/eda_angle.h>#include <layer_ids.h>#include <lset.h>#include <math/vector2d.h>#include <properties/property.h>#include <zones.h>Go to the source code of this file.
Classes | |
| class | PADSTACK |
| A PADSTACK defines the characteristics of a single or multi-layer pad, in the IPC sense of the word. More... | |
| struct | PADSTACK::SHAPE_PROPS |
| ! More... | |
| struct | PADSTACK::COPPER_LAYER_PROPS |
| The features of a padstack that can vary between copper layers All parameters are optional; leaving them un-set means "use parent/rule defaults" Pad clearances, margins, etc. More... | |
| struct | PADSTACK::MASK_LAYER_PROPS |
| The features of a padstack that can vary on outer layers. More... | |
| struct | PADSTACK::DRILL_PROPS |
| The properties of a padstack drill. More... | |
| struct | PADSTACK::POST_MACHINING_PROPS |
Namespaces | |
| namespace | kiapi |
| namespace | kiapi::board |
| namespace | kiapi::board::types |
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 class | PAD_DRILL_SHAPE { UNDEFINED , CIRCLE , OBLONG } |
| The set of pad drill shapes, used with PAD::{Set,Get}DrillShape() More... | |
| enum class | PAD_DRILL_POST_MACHINING_MODE { UNKNOWN , NOT_POST_MACHINED , COUNTERBORE , COUNTERSINK } |
| enum class | BACKDRILL_MODE { NO_BACKDRILL , BACKDRILL_BOTTOM , BACKDRILL_TOP , BACKDRILL_BOTH } |
| enum class | PAD_ATTRIB { PTH , SMD , CONN , NPTH , NON_COMPONENT } |
| 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 , MECHANICAL , PRESSFIT } |
| 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... | |
| enum class | UNCONNECTED_LAYER_MODE { KEEP_ALL , START_END_ONLY , REMOVE_ALL , REMOVE_EXCEPT_START_AND_END } |
| enum class | CUSTOM_SHAPE_ZONE_MODE { OUTLINE , CONVEXHULL } |
Functions | |
| DECLARE_ENUM_TO_WXANY (PAD_DRILL_POST_MACHINING_MODE) | |
| DECLARE_ENUM_TO_WXANY (UNCONNECTED_LAYER_MODE) | |
| DECLARE_ENUM_TO_WXANY (BACKDRILL_MODE) | |
|
strong |
| Enumerator | |
|---|---|
| NO_BACKDRILL | |
| BACKDRILL_BOTTOM | |
| BACKDRILL_TOP | |
| BACKDRILL_BOTH | |
Definition at line 84 of file padstack.h.
|
strong |
| Enumerator | |
|---|---|
| OUTLINE | |
| CONVEXHULL | |
Definition at line 140 of file padstack.h.
|
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 |
| NON_COMPONENT | Pad with no hole that does not connect to a physical component, but rather provides a connection point for nets. For example, net-ties or embedded component terminals. |
Definition at line 97 of file padstack.h.
|
strong |
| Enumerator | |
|---|---|
| UNKNOWN | |
| NOT_POST_MACHINED | |
| COUNTERBORE | |
| COUNTERSINK | |
Definition at line 76 of file padstack.h.
|
strong |
The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()
| Enumerator | |
|---|---|
| UNDEFINED | |
| CIRCLE | |
| OBLONG | |
Definition at line 69 of file padstack.h.
|
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.
Also used by DRC to check some properties.
Definition at line 117 of file padstack.h.
|
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 52 of file padstack.h.
|
strong |
| Enumerator | |
|---|---|
| KEEP_ALL | |
| START_END_ONLY | |
| REMOVE_ALL | |
| REMOVE_EXCEPT_START_AND_END | |
Definition at line 131 of file padstack.h.
| DECLARE_ENUM_TO_WXANY | ( | BACKDRILL_MODE | ) |
| DECLARE_ENUM_TO_WXANY | ( | PAD_DRILL_POST_MACHINING_MODE | ) |
| DECLARE_ENUM_TO_WXANY | ( | UNCONNECTED_LAYER_MODE | ) |