add_line
Draw a graphic line segment on a KiCad PCB layer such as silkscreen, fab, or Edge.Cuts. Define start and end points in mm, layer name, and width.
Instructions
Add a graphic line segment (silkscreen, fab, Edge.Cuts, etc.).
Args: start_x_mm, start_y_mm: Start point in mm. end_x_mm, end_y_mm: End point in mm. layer: Layer name, e.g. 'F.SilkS' or 'Edge.Cuts'. width_mm: Line width in mm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | F.SilkS | |
| end_x_mm | Yes | ||
| end_y_mm | Yes | ||
| width_mm | No | ||
| start_x_mm | Yes | ||
| start_y_mm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||