route_trace
Route one PCB connection between two pads with 45-degree corners, clearance, keepouts, and optional vias; preview with dry_run before committing copper.
Instructions
Route one connection between two pads (PART.PAD, e.g. 'J1.A19' to 'J9.5') the way a person would: straight runs, 45-degree corners (no 90s), around other nets' copper with the design's clearance (or clearance_mm), keepouts and the board edge, ending exactly on the pad centres. layer: 'top' / 'bottom' to prefer one layer, 'any' to let it choose; vias only where needed (allow_vias=false forbids them). dry_run=true (default) returns the plan and a picture without writing; run again with dry_run=false to draw it (checked against the board afterwards).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | any | |
| to_pad | Yes | ||
| dry_run | No | ||
| grid_mm | No | ||
| from_pad | Yes | ||
| width_mm | No | ||
| allow_vias | No | ||
| clearance_mm | No | ||
| via_drill_mm | No | ||
| via_diameter_mm | No |