BlenderMesh.from_object

classmethod BlenderMesh.from_object(obj)

Construct a Blender object wrapper from an existing Blender object.

Parameters

obj (bpy.types.Object) – The Blender object.

Returns

BlenderGeometry – The Blender object wrapper.

Raises

ConversionError – If the geometry of the Blender scene object cannot be converted to the geometry type of the wrapper.