blender_mesh_from_data
Construct a mesh object from raw vertex and face data for procedural geometry generation. Use vertex positions and face indices to create custom 3D shapes directly.
Instructions
Create a mesh object from raw vertex/face data using mesh.from_pydata(). Useful for procedural geometry.
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": {
"name": "<name>",
"vertices": "<vertices>",
"faces": "<faces>"
},
"name": "blender_mesh_from_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new mesh object | |
| edges | No | Optional list of edge vertex-index pairs [[0,1], ...] | |
| faces | Yes | List of face vertex-index lists [[0,1,2,3], ...] | |
| location | No | Location [x, y, z] | |
| vertices | Yes | List of vertex positions [[x,y,z], ...] | |
| smooth_shade | No | Apply smooth shading (default: false) |