AppendCollisionMesh

class compas_fab.backends.interfaces.AppendCollisionMesh[source]

Bases: object

Interface for a Planner’s append collision mesh feature. Any implementation of AppendCollisionMesh must define the method append_collision_mesh. The __call__ magic method allows an instance of an implementation of AppendCollisionMesh to be treated as its append_collision_mesh method. See <https://docs.python.org/3/reference/datamodel.html#object.__call__> and <https://en.wikipedia.org/wiki/Function_object#In_Python>.

Methods

__init__()

Initialize self.

append_collision_mesh(collision_mesh[, options])

Append a collision mesh to the planning scene.