set_vertex_group_weights
Assign or update vertex group weights on an object using per-vertex values or a uniform weight, with replace, add, or subtract modes. Creates the group if it does not exist.
Instructions
设置顶点组权重:weights=[[vertex_index, weight], …] 或 all=统一值;mode: REPLACE/ADD/SUBTRACT。组不存在则创建。
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": {
"object": "<object>",
"group": "<group>"
},
"name": "set_vertex_group_weights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| mode | No | REPLACE | |
| group | Yes | ||
| object | Yes | ||
| weights | No |