Skip to content

jsl/landpatterns/two-pin/axial

Package name: jsl/landpatterns/two-pin/axial

Summary

Data Types

Axial-2pin

Axial 2-pin Component Package

Functions

Function Description
Axial-2pin Constructor for Axial 2-pin Components

TH-Lead-WeldBead

Through-hole Lead with Optional Weld-Bead

Constructors

Function Description
TH-Lead-WeldBead Constructor for defstruct TH-Lead-WeldBead

Functions

Function Description
Axial-2pin Constructor for Axial 2-pin Components

AxialMounting

Axial Mounting Style

Functions

Function Description
Axial-2pin Constructor for Axial 2-pin Components

General Definitions

Function Description
compute-default-bend-radius Compute default target bend radius.
Variable Description
DEF-BEND-START Default Bend Starting Offset

Definitions

Axial-2pin

Axial 2-pin Component Package

public defstruct Axial-2pin <: Package
    bend-radius: Double
    bend-start: Double
    lead: TH-Lead-WeldBead
    mounting: AxialMounting
    polarized?: True|False

  • bend-radius: Double - Target Bend Radius for Leads

  • bend-start: Double - Bend Starting Offset from Body or Weld Bead

  • lead: TH-Lead-WeldBead - Lead Construction Type

  • mounting: AxialMounting - Mount Horz or Vertical

  • polarized?: True|False - Component is Polarized and Requires C/A Pad Names

Functions

Axial-2pin

Constructor for Axial 2-pin Components

public defn Axial-2pin ( -- lead:TH-Lead-WeldBead, mounting:AxialMounting = ?, polarized?:True|False = ?, bend-start:Double = ?, bend-radius:Double = ?, package-body:PackageBody, pad-planner:PadPlanner = ?, lead-numbering:Numbering = ?, density-level:DensityLevel = ?)

  • lead: TH-Lead-WeldBead - Lead specifications
  • mounting: AxialMounting - Default mounting style is Horizontal.
  • polarized?: True|False

TH-Lead-WeldBead

Through-hole Lead with Optional Weld-Bead

public defstruct TH-Lead-WeldBead <: TH-Lead
    weld-offset: Toleranced

  • weld-offset: Toleranced - Distance from the component body to the weld-bead on the electrical lead. By default, this value is 0.0 and assumes that the component does not have a weld-bead.

Constructors

TH-Lead-WeldBead

Constructor for defstruct TH-Lead-WeldBead

public defn TH-Lead-WeldBead ( -- length:Toleranced, width:Toleranced, override:Pad = ?, weld-offset:Toleranced = ?)

Functions

Axial-2pin

Constructor for Axial 2-pin Components

public defn Axial-2pin ( -- lead:TH-Lead-WeldBead, mounting:AxialMounting = ?, polarized?:True|False = ?, bend-start:Double = ?, bend-radius:Double = ?, package-body:PackageBody, pad-planner:PadPlanner = ?, lead-numbering:Numbering = ?, density-level:DensityLevel = ?)

  • lead: TH-Lead-WeldBead - Lead specifications
  • mounting: AxialMounting - Default mounting style is Horizontal.
  • polarized?: True|False

AxialMounting

Axial Mounting Style

public defenum AxialMounting <: Equalable & Hashable

There are generally two ways to mount an axial component on a PCB.

  1. Horizontally - this is the typical method where the lead axis is parallel with the board surface.
  2. Vertically - In this configuration, the lead axis is perpendicular with the board surface, and the lead pointing away from the board surface is bent 180 degrees to mate with the board surface.

TODO - Diagram here.

Functions

Axial-2pin

Constructor for Axial 2-pin Components

public defn Axial-2pin ( -- lead:TH-Lead-WeldBead, mounting:AxialMounting = ?, polarized?:True|False = ?, bend-start:Double = ?, bend-radius:Double = ?, package-body:PackageBody, pad-planner:PadPlanner = ?, lead-numbering:Numbering = ?, density-level:DensityLevel = ?)

  • lead: TH-Lead-WeldBead - Lead specifications
  • mounting: AxialMounting - Default mounting style is Horizontal.
  • polarized?: True|False

General Definitions

compute-default-bend-radius

Compute default target bend radius.

public defn compute-default-bend-radius (lead-diameter:Toleranced) -> Double

  • Returns Double

References

  • IPC-A-610 Section 7.1.2, Table 7-1 Lead Bend Radius

DEF-BEND-START

Default Bend Starting Offset

public val DEF-BEND-START

The lead bend is started at an offset from with the package body or the weld-bead (if present).

Related Packages

Forwarded by packages: jsl/landpatterns/two-pin/generators, jsl/landpatterns/generators, jsl/landpatterns