Skip to content

jsl/landpatterns/leads

Package name: jsl/landpatterns/leads

Summary

General Definitions

Function Description
bounds Generate the Bounding Dims of a sequence of pads

Definitions

General Definitions

bounds

Generate the Bounding Dims of a sequence of pads

public defn bounds (lp-pads:Seqable<JITXObject|VirtualPad> -- layer-spec:LayerSpecifier|False = ?, expand-by:Double = ?) -> Box

  • lp-pads: Seqable<JITXObject|VirtualPad> - the pads that we want to create a bounding rectangle of. These pads should be in the same component for this function to make sense. It should be either a LandPatternPad or a VirtualPad.
  • layer-spec: LayerSpecifier|False - Optional layer specifier that will compute the bounds based on the geometry in a particular layer. If this value is false - we compute the boundary based on the copper pad geometry only.
  • expand-by: Double - Amount to expand the created dimension by.
  • Returns Box - Axis aligned box that contains the selected objects. Note that this box is in the frame of reference of the associated component.

Related Packages

Forwards packages: jsl/landpatterns/leads/lead-profile, jsl/landpatterns/leads/lead-types, jsl/landpatterns/leads/through-hole, jsl/landpatterns/leads/protrusions, jsl/landpatterns/leads/lead-profile, jsl/landpatterns/leads/lead-types, jsl/landpatterns/leads/through-hole, jsl/landpatterns/leads/protrusions, jsl/landpatterns/leads/lead-profile, jsl/landpatterns/leads/lead-types, jsl/landpatterns/leads/through-hole, jsl/landpatterns/leads/protrusions Forwarded by packages: jsl/landpatterns/framework, jsl/landpatterns