BlenderMesh.from_geometry

classmethod BlenderMesh.from_geometry(geometry)

Construct a Blender object wrapper from an existing Blender data block.

Parameters

geometry (Blender data block) – The Blender data block.

Returns

BlenderGeometry – The Blender object wrapper.

Raises

ConversionError – If the geometry of the Blender data block cannot be converted to the geometry type of the wrapper.