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.
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) |