add_pcb_line
Draw graphic lines on PCB layers like edge cuts or silkscreen by specifying start and end coordinates, line width, and layer.
Instructions
Add a graphic line to the PCB (edge cuts, silkscreen, etc.).
Args:
x1: Start X
y1: Start Y
x2: End X
y2: End Y
layer: Layer (e.g. "Edge.Cuts", "F.SilkS")
width: Line width in mm
pcb_path: Path to .kicad_pcb file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| layer | No | Edge.Cuts | |
| width | No | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |