create_mesh_object
create_mesh_object(
vertices=None,
edges=None,
faces=None,
name='Mesh',
collection=None,
)
Create a new Blender mesh object.
Parameters
| vertices |
np.ndarray |
The vertices as a numpy array with shape (N, 3). Defaults to None. |
None |
| edges |
np.ndarray |
The edges as a numpy array. Defaults to None. |
None |
| faces |
np.ndarray |
The faces as a numpy array. Defaults to None. |
None |
| name |
str |
The name of the object. Defaults to ‘Mesh’. |
'Mesh' |
| collection |
bpy.types.Collection |
The collection to link the object to. Defaults to None. |
None |
Returns
|
Object |
The created mesh object. |