updateBlendShapes
Modify multiple BlendShapes simultaneously by updating IDs, weights, and vertex deltas for efficient 3D mesh customization in the 3D-MCP ecosystem.
Instructions
Update multiple BlendShapes in a single operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of BlendShapes to update with their IDs |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of BlendShapes to update with their IDs",
"items": {
"additionalProperties": false,
"properties": {
"combineMethod": {
"default": "additive",
"description": "How this shape combines with others",
"enum": [
"average",
"additive"
],
"type": "string"
},
"deltas": {
"description": "Per-vertex deformation deltas",
"items": {
"additionalProperties": false,
"properties": {
"normalDelta": {
"description": "Normal vector offset",
"items": {
"$ref": "#/properties/items/items/properties/deltas/items/properties/positionDelta/items"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"positionDelta": {
"description": "Position offset",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"tangentDelta": {
"$ref": "#/properties/items/items/properties/deltas/items/properties/normalDelta",
"description": "Tangent vector offset"
},
"vertexIndex": {
"description": "Vertex index",
"minimum": 0,
"type": "integer"
}
},
"required": [
"vertexIndex",
"positionDelta"
],
"type": "object"
},
"type": "array"
},
"ids": {
"description": "BlendShape identifiers to update",
"items": {
"type": "string"
},
"type": "array"
},
"meshId": {
"description": "ID of the target mesh",
"type": "string"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"name": {
"description": "Display name",
"type": "string"
},
"weight": {
"default": 0,
"description": "Current blend shape weight",
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"ids"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}