sch_stub_pins
Draw short wire stubs with net labels on every unconnected schematic pin so floating pins become named single-pin nets for ERC and later wiring.
Instructions
Draw a short wire stub + net label on every unconnected schematic pin.
Finds floating pins (via the same connectivity check as
proj_get_unconnected_pins), then for each one places a wire extending from
the pin's electrical end outward along its orientation, terminated by a
net label named "_<pin_number>". This makes dangling pins
explicit so ERC reports them as named single-pin nets rather than silent
floats, and gives a labelled anchor to wire up later.
Args: stub_length_mils: Length of each stub wire in mils (default 100) only_designators: If given, only stub pins on these components
Returns: Dictionary with "stubbed" and "failed" counts, plus the pin list that was acted on
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only_designators | No | ||
| stub_length_mils | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||