BlenderGeometry

class compas_blender.conversions.BlenderGeometry[source]

Bases: object

Base class for Blender Geometry and Object wrappers.

Blender scene objects have an underlying data block that represents the actual geometry of the object. Multiple objects can share the same data block.

Every object adds a “location”, “rotation”, and “scale” to the data block to place it in the scene. To change an individual object without changing the underlying data block, change its location, rotation or scale. Change a data block directly to change all the connected objects.

Methods

from_geometry

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

from_name

Construct a Blender object wrapper from an existing Blender object.

from_object

Construct a Blender object wrapper from an existing Blender object.

to_compas

transform

Transform the Blender object.