add_trace
Add a copper trace segment between two points on a specified layer and net in a KiCad PCB design.
Instructions
Add a trace segment between two points.
Args:
x1: Start X
y1: Start Y
x2: End X
y2: End Y
width: Trace width in mm
layer: Copper layer (e.g. "F.Cu", "B.Cu")
net: Net number
pcb_path: Path to .kicad_pcb file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| width | No | ||
| layer | No | F.Cu | |
| net | No | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |