KiCad Pcbnew Python Scripting
|
Useful construction functions for common types of pads, providing sensible defaults for common pads. More...
Public Member Functions | |
def | __init__ (self, module) |
def | THPad (self, Vsize, Hsize, drill, shape=pcbnew.PAD_SHAPE_OVAL, rot_degree=0) |
A basic through-hole pad of the given size and shape. | |
def | THRoundPad (self, size, drill) |
A round though-hole pad. | |
def | NPTHRoundPad (self, drill) |
A round non-plated though hole (NPTH) | |
def | SMDPad (self, Vsize, Hsize, shape=pcbnew.PAD_SHAPE_RECT, rot_degree=0) |
def | AperturePad (self, Vsize, Hsize, shape=pcbnew.PAD_SHAPE_RECT, rot_degree=0) |
def | SMTRoundPad (self, size) |
A round surface-mount pad. | |
Public Attributes | |
module | |
Useful construction functions for common types of pads, providing sensible defaults for common pads.
Definition at line 27 of file PadArray.py.
def plugins.PadArray.PadMaker.__init__ | ( | self, | |
module | |||
) |
module | the module the pads will be part of |
Definition at line 33 of file PadArray.py.
def 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.
def 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.
def 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.
def 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.
def 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.
def 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 |
Definition at line 37 of file PadArray.py.