Skip to content

jsl/landpatterns/leads/through-hole

Package name: jsl/landpatterns/leads/through-hole

Summary

General Definitions

Function Description
compute-hole-diam Compute the hole size for a through-hole pad.
compute-pad-diam Compute the copper pad diameter based on IPC2222 rules

Definitions

General Definitions

compute-hole-diam

Compute the hole size for a through-hole pad.

public defn compute-hole-diam (lead-diameter:Toleranced, density-level:DensityLevel) -> Double

  • lead-diameter: Toleranced - Size of the lead for this hole. This should be the overall diameter of the lead, ie, for a square lead this diameter is the diagonal measurement of the square.
  • Returns Double

compute-pad-diam

Compute the copper pad diameter based on IPC2222 rules

public defn compute-pad-diam (hole-diam:Double, density-level:DensityLevel) -> Double

  • hole-diam: Double - Hole Diameter in mm of the through-hole
  • Returns Double - Pad overall diameter in mm assuming that hole is centered in the pad.

Related Packages

Forwarded by packages: jsl/landpatterns/leads, jsl/landpatterns/framework, jsl/landpatterns