Expand description
Full-parity Pin 1 & Polarity virtual layer (PIN1_TOP, PIN1_BOTTOM).
Matches acr, pcbe (virtual_layers/pin1.rs), and Python _pin1.py:
- Explicit
POSITIVE_PAD/NEGATIVE_PAD->+/-pad-bounded labels. - Explicit
PIN1_PADparameter -> Pin 1 marker (or suppresses ifNONE/OFF/FALSE). - Polarized inductors -> Pin 1 marker on winding-start pad.
- Resolved diodes (
diode_ak_labels = true) ->A/Kpad-bounded stroke labels. - Polarized capacitors (
cap_polarity_labels = true) ->+/-pad-bounded labels. - Generic multi-pin ICs / connectors / BGAs (excluding
R/C/Land 2-pinX/Y) -> exact"1"->"A1"-> smallest BGA/LGA grid pad -> smart marker sizing.
Structs§
- Pin1
Marker - Structured Pin 1 marker with its lowered
FabLayerItemsgeometry. - Pin1
Options - Configuration for
PIN1_TOP/PIN1_BOTTOMsynthesis. - Pin1
Override - Per-component override for
PIN1_TOP/PIN1_BOTTOM.
Enums§
- PadLabel
Orientation - Orientation policy for pad-bounded Pin 1 / polarity text labels (
A/K,+/-). - Pin1
Role - Semantic role of one emitted Pin 1 / polarity marker (used for SVG DOM attributes).
Functions§
- build_
pin1_ layer - Synthesize flat
FabLayerItemsforPIN1_TOP/PIN1_BOTTOM(used by Gerbers & bake). - build_
pin1_ markers - Build structured Pin 1 / polarity markers for
side. - is_
grid_ pad_ designator - Return true if a pin designator uses BGA/LGA letter-number syntax (e.g.
A1,AA12), excluding mechanical/shield/mounting names.