mesh_set_origin
Set a mesh object's origin to its geometry, center of mass, center of volume, or the 3D cursor to control pivot points for modeling and transforms.
Instructions
Set the origin point of a mesh object.
Args: object_name: name of the mesh object origin_type: origin calculation method - ORIGIN_GEOMETRY (geometry to origin), ORIGIN_CENTER_OF_MASS, ORIGIN_CENTER_OF_VOLUME, ORIGIN_CURSOR, GEOMETRY_ORIGIN (origin to geometry)
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": "mesh_set_origin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes | ||
| origin_type | No | ORIGIN_GEOMETRY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |