scale_body
Scale one or more 3D bodies uniformly or non-uniformly with custom factors per axis and an optional base point for scaling origin.
Instructions
Scale one or more bodies uniformly or non-uniformly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body_names": "<body_names>"
},
"name": "scale_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_names | Yes | Array of body names to scale. | |
| scale_factor | No | Uniform scale factor (e.g. 2.0 = double size). Overridden by scale_x/y/z if provided. | |
| scale_x | No | X scale factor (non-uniform scaling). | |
| scale_y | No | Y scale factor (non-uniform scaling). | |
| scale_z | No | Z scale factor (non-uniform scaling). | |
| base_point | No | Base point {x, y, z} in mm for scaling origin. Default is body centroid. |