BlenderGeometry.from_object

classmethod BlenderGeometry.from_object(obj)

Construct a Blender object wrapper from an existing Blender object.

Parameters

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

Returns

compas_blender.conversions.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.