Create tank
tankAdd a rectangular Part::Box to an existing FreeCAD document using specified length, width, and height values in millimetres.
Instructions
Add a rectangular Part::Box (tank) to an existing document. Parameters length, width, height must be positive numbers (millimetres). The document is locked exclusively during the operation.
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'). |