object_rotate
Rotate a single CAD entity counter-clockwise around a specified WCS base point by an angle in degrees, updating its geometry in the active drawing.
Instructions
Rotate one object around the supplied WCS base point by angle_deg in degrees; this mutates geometry in the active document.
Side-effects: Mutates entity geometry in active drawing. Disambiguation: Rotates geometry counter-clockwise in degrees; use object_scale to resize or object_move to translate.
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": {
"object_id": "<object_id>",
"base_x": "<base_x>",
"base_y": "<base_y>",
"angle_deg": "<angle_deg>"
},
"name": "object_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_x | Yes | WCS X coordinate of rotation center base point | |
| base_y | Yes | WCS Y coordinate of rotation center base point | |
| angle_deg | Yes | Rotation angle in degrees (counter-clockwise) | |
| object_id | Yes | Backend entity identifier or persistent CAD handle of object to rotate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||