set_origin
Set an object's origin to its geometry center, 3D cursor, center of mass, or center of volume. Adjust origin point for precise transformations.
Instructions
Set an object's origin point.
Parameters:
name: Object name
origin_type: ORIGIN_GEOMETRY (centre of mesh), ORIGIN_CURSOR (3D cursor position), ORIGIN_CENTER_OF_MASS, ORIGIN_CENTER_OF_VOLUME
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| origin_type | No | ORIGIN_GEOMETRY |