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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sch_stub_pins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only_designators | No | ||
| stub_length_mils | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||