fabric_apply
Apply a chosen fabric to selected or all garment patterns in a CLO3D scene, with optional color and texture.
Instructions
Add a fabric (keyword like 'satin', 'chiffon', 'denim', 'jersey'..., a library file name, or a .zfab path) and assign it to the given pieces (default: all). Optional colour ('#hex' or a colour name) and base texture image.
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": {
"fabric": "<fabric>"
},
"name": "fabric_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| fabric | Yes | ||
| patterns | No | ||
| texture_image | No |