set_object_origin
Repositions an object's local origin or pivot while preserving world-space vertex coordinates, with modes for bottom center, center of mass, cursor, and custom points.
Instructions
Reposition an object's local origin/pivot point while preserving world-space vertex coordinates. Supports 'BOTTOM_CENTER', 'CENTER_OF_MASS', 'ORIGIN_TO_GEOMETRY', 'GEOMETRY_TO_ORIGIN', 'ORIGIN_TO_CURSOR', 'CUSTOM_POINT'.
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_name": "<object_name>"
},
"name": "set_object_origin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| approved | No | ||
| request_id | No | ||
| object_name | Yes | Name of the target mesh object. | |
| origin_mode | No | Target origin placement mode. | BOTTOM_CENTER |
| custom_point | No | World [x, y, z] point when origin_mode is 'CUSTOM_POINT'. | |
| approval_token | No |