Scale Body
scale_bodyScales SolidWorks part bodies uniformly or per axis around their centroid or the part origin, adding a Scale feature and returning volume changes.
Instructions
Beta: new: checked on SolidWorks by a scratch run, not yet by a live demo.
Scale bodies of the active part, uniformly or per axis, about their centroid or the origin.
Give scale (one factor) or scale_xyz ([x, y, z]); a body's volume
is multiplied by the factors' product. Fails, changing nothing, when a
name is unknown or every factor is 1. Needs: a part with a body.
Changes: adds a Scale feature. Returns: scale with name, factors,
the body names, counts and volumes before and after.
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": {
"input_data": "<input_data>"
},
"name": "scale_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | `scale` or `scale_xyz`; `about` and `bodies` optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||