updateCurves
Update multiple curves simultaneously by defining IDs, control points, knots, and metadata within 3D-MCP servers for efficient 3D modeling workflows.
Instructions
Update multiple Curves in a single operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of Curves to update with their IDs |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of Curves to update with their IDs",
"items": {
"additionalProperties": false,
"properties": {
"castShadow": {
"default": true,
"description": "Whether the object casts shadows",
"type": "boolean"
},
"childIds": {
"default": [],
"description": "Child object IDs",
"items": {
"type": "string"
},
"type": "array"
},
"closed": {
"default": false,
"description": "Whether the curve is closed",
"type": "boolean"
},
"controlPoints": {
"description": "Control points defining the curve",
"items": {
"additionalProperties": false,
"properties": {
"position": {
"description": "Position [x, y, z]",
"items": {
"$ref": "#/properties/items/items/properties/position/items"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"weight": {
"default": 1,
"description": "Control point weight",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"position"
],
"type": "object"
},
"type": "array"
},
"degree": {
"description": "Degree of the curve",
"exclusiveMinimum": 0,
"type": "integer"
},
"ids": {
"description": "Curve identifiers to update",
"items": {
"type": "string"
},
"type": "array"
},
"knots": {
"description": "Knot vector",
"items": {
"type": "number"
},
"type": "array"
},
"locked": {
"default": false,
"description": "Editing lock state",
"type": "boolean"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"name": {
"description": "Display name",
"type": "string"
},
"parentId": {
"default": null,
"description": "Parent object ID",
"type": [
"string",
"null"
]
},
"position": {
"default": [
0,
0,
0
],
"description": "Position [x, y, z]",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"receiveShadow": {
"default": true,
"description": "Whether the object receives shadows",
"type": "boolean"
},
"renderOrder": {
"default": 0,
"description": "Render sorting order",
"type": "integer"
},
"rotation": {
"default": [
0,
0,
0,
1
],
"description": "Rotation quaternion [x, y, z, w]",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"scale": {
"$ref": "#/properties/items/items/properties/position",
"default": [
1,
1,
1
],
"description": "Scale [x, y, z]"
},
"visible": {
"default": true,
"description": "Visibility state",
"type": "boolean"
}
},
"required": [
"ids"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}