cloth_to_shape_key
Simulate cloth dynamics and capture the final draped state as a shape key for natural clothing rest poses.
Instructions
Run cloth simulation and save result as a shape key.
Useful for creating natural rest poses for skirts, capes, and other clothing that should hang naturally from a pin point.
Args: mesh_name: Name of the mesh object. shape_key_name: Name for the resulting shape key. pin_vertex_group: Vertex group for pinned vertices. frames: Simulation frames. stiffness: Cloth stiffness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frames | No | ||
| mesh_name | Yes | ||
| stiffness | No | ||
| shape_key_name | No | cloth_rest | |
| pin_vertex_group | No |