ocdb/utils/land-protrusions is a set of lookup tables used to satisfy IPC compliance during the generation of land patterns. It defines a set of
LandProtrusionTypes that represent metadata about package leads or terminations that is used alongside
DensityLevel in order to compute offsets to the pads and courtyards of land patterns.
public pcb-enum ocdb/utils/land-protrusions/LandProtrusionType : SmallFlatRibbonLLeads, ; Flat ribbon L leads for pitch less than 0.0625mm SmallGullWingLeads, ; Gull wwing leads with pitch less than 0.0625mm BigFlatRibbonLLeads, ; Flat ribbon L leads for pitch greater than 0.0625mm BigGullWingLeads, ; GullWing leads for pitch greater than 0.0625mm JLeads, ; J Leads SmallRectangularLeads, ; Leads for rectangular components (chip capacitors, resistors, inductors) smaller than 0601 BigRectangularLeads, ; Leads for rectangular components (chip capacitors, resistors, inductors) 0601 or larger CylindricalLeads, ; Cylindrical end cap leads LeadlessChipCarrierLeads, ; Lead less chip carrier leads ConcaveChipArrayLeads, ; Concave chip array leads ConvexChipArrayLeads, ; Convex chip array leads FlatChipArrayLeads, ; Flat chip array leads ButtJointLeads, ; Butt joint leads InwardFlatRibbonLLeads, ; Inward flat ribbons L leads FlatLugLeads, ; flat lug leads QuadFlatNoLeads, ; quad flat components without leads SmallOutlineNoLeads, ; small outline packages without leads SmallOutlineFlatLeads, ; small outline flat leads ShortTwoPinCrystalLeads, ; two pin crystal components shorter than 10mm ShortAluminumElectrolyticLeads, ; electrolytic capacitor shorter than 10mm TallTwoPinCrystalLeads, ; two pin crystal components 10mm or taller TallAluminumElectrolyticLeads, ; electrolytic capacitor 10mm or taller
LandProtrusionType is a helper enum for various kinds of leads and terminations on components. It is used to configure their generated land patterns.
public pcb-struct ocdb/utils/land-protrusions/LeadFillets: toe:Double ; space away from the component towards the board heel:Double ; space towards the component side:Double ; space on the edges of the lead courtyard-excess:Double ; additional area to add to the courtyard
LeadFillets is a helper struct that represents the space added to pads and courtyard area when generating land patterns.
public defn lead-fillets (lead-type:LandProtrusionType) -> LeadFillets public defn lead-fillets (lead-type:LandProtrusionType, density-level:DensityLevel) -> LeadFfillets
A helper function to lookup the
LeadFillets corresponding to a
LandProtrusionType given a
DensityLevel. If not supplied, the
DensityLevel used is the default defined in Design Variables
public defn bga-courtyard-excess (density-level:DensityLevel) -> Double
A helper function to lookup the courtyard excess when computing BGA land patterns.