VolMeshObject.create_object

VolMeshObject.create_object(geometry, name=None)[source]

Add an object to the Blender scene.

Parameters:
geometrybpy.types.Mesh | bpy.types.Curve

The Blender object data.

namestr, optional

The name of the object.

Returns:
bpy.types.Object

The Blender object.