add_shape_key
Create a shape key (blend shape) on a mesh to store alternative vertex positions for facial expressions or morphs; the first call also creates the Basis.
Instructions
Add a shape key (blend shape). The first call also creates the Basis.
Shape keys store alternative vertex positions blended by a 0-1 value: facial expressions, morphs, corrective shapes. Shape it with move_shape_key_vertices, blend with set_shape_key, animate with keyframe_shape_key.
Args: object_name: Mesh object. key_name: Name for the new shape key. from_mix: Start from the current blend of all keys instead of the Basis.
Returns: Dict with the new key and every key on the object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_mix | No | ||
| key_name | Yes | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||