Route Pad To Pad
route_pad_to_padRoutes traces between component pads with automatic net detection and via insertion when pads are on different copper layers.
Instructions
PREFERRED tool for pad-to-pad routing. Looks up pad positions automatically, detects the net from the pad, and — critically — if the two pads are on different copper layers (e.g. J1 on F.Cu and J2 on B.Cu) automatically inserts a via at the midpoint so the connection is complete. Always use this instead of route_trace when routing between named component pads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | Net name override (default: auto-detected from pad) | |
| layer | No | PCB layer (default: F.Cu) | |
| toPad | Yes | Pad number on the target component (e.g. '15' or 15) | |
| toRef | Yes | Reference of the target component (e.g. 'U1') | |
| width | No | Trace width in mm (default: board default) | |
| fromPad | Yes | Pad number on the source component (e.g. '6' or 6) | |
| fromRef | Yes | Reference of the source component (e.g. 'U2') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |