Create box
create_boxAdd a Part::Box to an existing FreeCAD document with specified length, width, and height, enabling parametric box creation for 3D modeling workflows.
Instructions
Add a Part::Box to an existing document. The document is locked exclusively during the operation; other processes cannot modify it concurrently. Parameters length, width, height must be positive numbers (millimetres).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Object name inside FreeCAD. | |
| type | Yes | FreeCAD TypeId, e.g. 'Part::Box'. | |
| width | No | Width in mm. | |
| height | No | Height in mm. | |
| length | No | Length in mm. | |
| radius | No | Radius in mm (cylinders). | |
| volume | No | Shape.Volume if available. | |
| shape_type | No | Shape.ShapeType if available (e.g. 'Solid'). |