AddCollisionMesh

class compas_fab.backends.interfaces.AddCollisionMesh[source]

Bases: object

Interface for a Planner’s add collision mesh feature. Any implementation of AddCollisionMesh must define the method add_collision_mesh. The __call__ magic method allows an instance of an implementation of AddCollisionMesh to be treated as its add_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.

add_collision_mesh(collision_mesh[, options])

Add a collision mesh to the planning scene.