Skip to content

jsl/landpatterns/headers

Package name: jsl/landpatterns/headers

Summary

Header

Landpattern Generator for Headers

Functions

Function Description
Header
build-vpads

General Definitions

Function Description
compute-outline

Definitions

Header

Landpattern Generator for Headers

public defstruct Header <: Package
    lead-type: Lead
    pad-diam: Double
    pitch: Double|Dims
    rows: Int

  • lead-type: Lead - Lead Type indicates TH vs SMT leads and their parameters.

  • pad-diam: Double - Set the size of the pad diameter for through-hole and width for SMT.

  • pitch: Double|Dims

  • rows: Int - Number of Rows of leads on this package

This is intended to be a generator for constructing the land patterns for single-row and dual-row headers.

Current implementation works well for standard through-hole headers, but likely needs refinement for SMT headers. Customized planner and numbering objects would likely fill the gap.

Functions

Header

public defn Header ( -- num-leads:Int, lead-type:Lead, pad-diam:Double, rows:Int, pitch:Double|Dims, package-body:PackageBody, pad-planner:PadPlanner = ?, lead-numbering:Numbering = ?, density-level:DensityLevel = ?) -> Header

  • Returns Header

build-vpads

public defn build-vpads (pkg:Header, vp:VirtualLP)

General Definitions

compute-outline

public defn compute-outline (vp:VirtualLP, density-level:DensityLevel -- line-width:Double = ?, mask-clearance:Double = ?) -> Shape

  • Returns Shape

Related Packages

Forwarded by packages: jsl/landpatterns/generators, jsl/landpatterns