kicad.route_trace
Route straight electrical traces between two points on a PCB layout in KiCad. Specify coordinates, width, and layer to connect components with copper paths.
Instructions
[Requires open project] Route a trace between two points. Straight segments only. Example: route_trace(x1=100, y1=100, x2=110, y2=100, width=0.25, layer='F.Cu')
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| width | No | ||
| layer | No | F.Cu | |
| net | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |