axial module#
- class THWeldBeadLead(length, width, weld_offset=Toleranced(0, 0, 0))[source]#
Bases:
THLeadThrough-hole lead with optional weld bead
This class is used to specify a through-hole lead with an optional weld bead. The weld bead is specified as an offset from the lead’s center.
- Parameters:
length (Toleranced)
width (Toleranced)
weld_offset (Toleranced)
-
weld_offset:
Toleranced= Toleranced(0, 0, 0)# Weld bead offset
Additional margin to provide around a lead to account for the weld bead.
- class AxialMounting(*values)[source]#
Bases:
EnumAxial component mounting style
This enum is used to specify the mounting style of an axial component.
- Horizontal = 'Horizontal'#
Horizontal Mounting Style
This is the typical mounting style where the lead axis is parallel to the board surface.
- Vertical = 'Vertical'#
Vertical Mounting Style
This is the mounting style where the lead axis is perpendicular to the board surface, and the lead pointing away from the board surface is bent 180 degrees to return to the board surface.
- compute_default_bend_radius(lead_diameter)[source]#
Compute default target bend radius.
See also
IPC-A-610 Section 7.1.2, Table 7-1 Lead Bend Radius
- Return type:
- Parameters:
lead_diameter (Toleranced)
- class AxialTwoPinBase(*, lead, package_body, mounting=AxialMounting.Horizontal, bend=None)[source]#
Bases:
PackageBodyMixin,GridPadShapeGeneratorMixin,LandpatternGenerator- Parameters:
lead (THLead)
package_body (PackageBody)
mounting (AxialMounting)
bend (LeadBend | None)
- class PolarizedAxialTwoPin(*args, **kwargs)[source]#
Bases:
CathodeAnodeNumbering,Pad1Marker,AxialTwoPinDecorated
- class AxialTwoPin(*args, **kwargs)[source]#
Bases:
LinearNumbering,AxialTwoPinDecorated