updateSubdivisionSurfaces
Enhance 3D models by modifying multiple SubdivisionSurfaces simultaneously, updating parameters like subdivision levels, crease edges, and boundary rules in a single operation.
Instructions
Update multiple SubdivisionSurfaces in a single operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of SubdivisionSurfaces to update with their IDs |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of SubdivisionSurfaces to update with their IDs",
"items": {
"additionalProperties": false,
"properties": {
"baseMeshId": {
"description": "ID of the base mesh",
"type": "string"
},
"boundaryInterpolation": {
"default": "all",
"description": "Boundary interpolation rule",
"enum": [
"none",
"edges",
"all"
],
"type": "string"
},
"creaseEdges": {
"description": "Creased edges with weights",
"items": {
"additionalProperties": false,
"properties": {
"creaseWeight": {
"description": "Crease weight",
"maximum": 10,
"minimum": 0,
"type": "number"
},
"edgeId": {
"description": "Edge identifier",
"type": "string"
}
},
"required": [
"edgeId",
"creaseWeight"
],
"type": "object"
},
"type": "array"
},
"ids": {
"description": "SubdivisionSurface identifiers to update",
"items": {
"type": "string"
},
"type": "array"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"name": {
"description": "Display name",
"type": "string"
},
"scheme": {
"description": "Subdivision scheme",
"enum": [
"catmull-clark",
"loop",
"bilinear"
],
"type": "string"
},
"subdivisionLevel": {
"default": 1,
"description": "Current subdivision level",
"minimum": 0,
"type": "integer"
}
},
"required": [
"ids"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}