createVertexs
Generate multiple 3D vertex points with specified properties like position, color, and normal vectors. Integrates with 3D-MCP for streamlined 3D model creation and manipulation.
Instructions
Create multiple Vertexs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of Vertexs to create |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of Vertexs to create",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Vertex color [r, g, b, a]",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"meshId": {
"description": "ID of the parent mesh",
"type": "string"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"name": {
"description": "Display name",
"type": "string"
},
"normal": {
"description": "Normal vector [nx, ny, nz]",
"items": {
"$ref": "#/properties/items/items/properties/position/items"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"position": {
"description": "Position [x, y, z]",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"selected": {
"default": false,
"description": "Selection state of the vertex",
"type": "boolean"
},
"uv": {
"description": "UV coordinates by channel",
"items": {
"description": "VEC2 tensor with 2 components",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"type": "array"
},
"weight": {
"additionalProperties": {
"type": "number"
},
"description": "Vertex weights by influence (bone ID -> weight)",
"type": "object"
}
},
"required": [
"name",
"meshId",
"position"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}