create_rectangle
Draw an axis-aligned rectangle from a lower-left corner (x,y) with width and height, using millimeters by default and optional corner radius.
Instructions
Axis-aligned rectangle: corner (x,y), width, height, optional cornerRadius. Lengths use unit (default mm). Y increases upward; (x,y) is the lower-left corner. Stored as coords [x,y,width,height] in mm; cornerRadius in properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| unit | No | ||
| layer | No | ||
| width | Yes | ||
| height | Yes | ||
| cornerRadius | No |