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.
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": {
"mesh_name": "<mesh_name>"
},
"name": "cloth_to_shape_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frames | No | ||
| mesh_name | Yes | ||
| stiffness | No | ||
| shape_key_name | No | cloth_rest | |
| pin_vertex_group | No |