|
KiCad Pcbnew Python Scripting
|
Useful construction functions for common types of pads, providing sensible defaults for common pads. More...

Public Member Functions | |
| __init__ (self, module) | |
| THPad (self, Vsize, Hsize, drill, shape=pcbnew.PAD_SHAPE_OVAL, rot_degree=0) | |
| A basic through-hole pad of the given size and shape. | |
| THRoundPad (self, size, drill) | |
| A round though-hole pad. | |
| NPTHRoundPad (self, drill) | |
| A round non-plated though hole (NPTH) | |
| SMDPad (self, Vsize, Hsize, shape=pcbnew.PAD_SHAPE_RECT, rot_degree=0) | |
| AperturePad (self, Vsize, Hsize, shape=pcbnew.PAD_SHAPE_RECT, rot_degree=0) | |
| SMTRoundPad (self, size) | |
| A round surface-mount pad. | |
Public Attributes | |
| module = module | |
Useful construction functions for common types of pads, providing sensible defaults for common pads.
Definition at line 27 of file PadArray.py.
| plugins.PadArray.PadMaker.__init__ | ( | self, | |
| module ) |
| module | the module the pads will be part of |
Definition at line 33 of file PadArray.py.
| plugins.PadArray.PadMaker.AperturePad | ( | self, | |
| Vsize, | |||
| Hsize, | |||
| shape = pcbnew.PAD_SHAPE_RECT, | |||
| rot_degree = 0 ) |
Create a aperture pad of the given size and shape, i.e. a smd pad shape on the solder paste and not on a copper layer @param Vsize: the vertical size of the aperture @param Hsize: the horizontal size of the aperture @param shape: the shape of the pad @param rot_degree: the pad rotation, in degrees
Definition at line 99 of file PadArray.py.
| plugins.PadArray.PadMaker.NPTHRoundPad | ( | self, | |
| drill ) |
A round non-plated though hole (NPTH)
| drill | the drill diameter (equals the NPTH diameter) |
Definition at line 68 of file PadArray.py.
| plugins.PadArray.PadMaker.SMDPad | ( | self, | |
| Vsize, | |||
| Hsize, | |||
| shape = pcbnew.PAD_SHAPE_RECT, | |||
| rot_degree = 0 ) |
Create a surface-mount pad of the given size and shape @param Vsize: the vertical size of the pad @param Hsize: the horizontal size of the pad @param shape: the shape of the pad @param rot_degree: the pad rotation, in degrees
Definition at line 82 of file PadArray.py.

| plugins.PadArray.PadMaker.SMTRoundPad | ( | self, | |
| size ) |
A round surface-mount pad.
A shortcut for SMDPad()
| size | pad diameter |
Definition at line 118 of file PadArray.py.
| plugins.PadArray.PadMaker.THPad | ( | self, | |
| Vsize, | |||
| Hsize, | |||
| drill, | |||
| shape = pcbnew.PAD_SHAPE_OVAL, | |||
| rot_degree = 0 ) |
A basic through-hole pad of the given size and shape.
| Vsize | the vertical size of the pad |
| Hsize | the horizontal size of the pad |
| drill | the drill diameter |
| shape | the shape of the pad |
| rot_degree | the pad rotation, in degrees |
Definition at line 39 of file PadArray.py.

| plugins.PadArray.PadMaker.THRoundPad | ( | self, | |
| size, | |||
| drill ) |
A round though-hole pad.
A shortcut for THPad()
| size | pad diameter |
| drill | drill diameter |
Definition at line 59 of file PadArray.py.
| plugins.PadArray.PadMaker.module = module |
Definition at line 37 of file PadArray.py.