jsl/landpatterns/pad-grid¶
Package name: jsl/landpatterns/pad-grid
Summary¶
General Definitions¶
Function | Description |
---|---|
pad-grid-th | Construct a Through-Hole Pad Grid using a GridPlanner |
pad-grid-smt | Construct an SMT Pad Grid using a GridPlanner |
Definitions¶
General Definitions¶
pad-grid-th¶
Construct a Through-Hole Pad Grid using a GridPlanner
public defn pad-grid-th ( -- lead-type:TH-Lead, planner:PadPlanner, lead-grid:GridPlanner, num-scheme:Numbering, density-level:DensityLevel = ?) -> Seq<VirtualPad>
lead-type: TH-Lead
- Through-Hole Lead parameterizationplanner: PadPlanner
- Pad Planner providing shapes and populationlead-grid: GridPlanner
- Construct a grid of positions for the padsnum-scheme: Numbering
- Lead numbering of the grid.density-level: DensityLevel
- IPC density level. The default value is based on DENSITY-LEVEL fromjsl/design/settings
- Returns
Seq<VirtualPad>
- Sequence of pads for applying to aVirtualLP
node. - Throws
ValueError
- If theplanner
doesn't support through-hole generators. To support through-hole, theplanner
needs to implement thehole-generator
defmethod and have it return a function instead offalse
.
pad-grid-smt¶
Construct an SMT Pad Grid using a GridPlanner
public defn pad-grid-smt ( -- pad-size:Dims, planner:PadPlanner, lead-grid:GridPlanner, num-scheme:Numbering) -> Seq<VirtualPad>
pad-size: Dims
- Dimensions of the pad to constructplanner: PadPlanner
- Pad Planner that determines shaping and populationlead-grid: GridPlanner
- Grid construction in the form of pad positionsnum-scheme: Numbering
- Pad numbering scheme depending on location.- Returns
Seq<VirtualPad>
- Sequence of pads for applying to aVirtualLP
node.
This is a common helper routine for constructing a grid of pads.
Related Packages¶
Forwarded by packages: jsl/landpatterns/framework, jsl/landpatterns