remove_stubs
Fixes PCB trace stubs by snapping pad-connected loose ends to pad centers and trimming or deleting dangling segments, with verification to avoid removing real connections.
Instructions
Fix trace stubs. A stub whose loose end lies on a same-net pad (Fusion re-anchors trace ends off-centre when a part rotates) is SNAPPED to the pad centre; a truly dangling end is cut back to the last place something joins the segment (a tap, a via), or the segment is deleted when nothing joins it before its other end. Fusion's DRC does not report every stub (a bus lane's tail past its last tap passes it), so with geometric=true (default) the board's copper is also checked directly. Every change is verified, and the run stops if the number of unrouted connections goes up, so a real connection is never removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometric | No | ||
| max_rounds | No |