draw_line
Create a line between two points on a sketch by specifying start and end coordinates in millimeters. Optionally select a sketch by index.
Instructions
Draw a line between two points on a sketch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | Start X in mm | |
| y1 | No | Start Y in mm | |
| x2 | Yes | End X in mm | |
| y2 | Yes | End Y in mm | |
| sketch_index | No | Sketch index (0-based). Uses last sketch if not specified. |