cst_transform_rotate
Rotate a solid around a specified axis (x, y, or z) by a given angle. Optionally set a center point or create a copy instead of moving the original.
Instructions
Rotate a solid by a given angle around an axis (x, y, or z). An optional center point can be specified.
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": {
"solid": "<solid>",
"angle": "<angle>",
"axis": "<axis>"
},
"name": "cst_transform_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | Rotation axis | |
| copy | No | If true, create a copy instead of moving the original | |
| angle | Yes | Rotation angle in degrees | |
| solid | Yes | Solid reference in "Component:Solid" format | |
| center_x | No | X coordinate of the transform center | |
| center_y | No | Y coordinate of the transform center | |
| center_z | No | Z coordinate of the transform center |