add_segment
Draw a straight line on a specified layer of the PCB layout by providing start and end coordinates and line width.
Instructions
Add a straight graphic segment (line) to the board.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1_mm | Yes | ||
| x2_mm | Yes | ||
| y1_mm | Yes | ||
| y2_mm | Yes | ||
| width_mm | No | ||
| layer_name | Yes |