create_rectangle
Draw a 2D rectangle in FreeCAD by specifying lower-left corner, width, height, and optional layer. Returns name, dimensions, and bounds.
Instructions
Draw a 2D rectangle in the open FreeCAD (XY plane, all values in mm).
(x, y) is the lower-left corner; width x height default to 10000 x 8000 mm. layer puts it on a named layer (created on first use;
without one the rectangle is on no layer and escapes layer filters). Returns name, dimensions and bounds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| layer | No | ||
| width | No | ||
| height | No | ||
| fit_view | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||