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.
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 |