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 methodadd_collision_mesh
. The__call__
magic method allows an instance of an implementation ofAddCollisionMesh
to be treated as itsadd_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__
()add_collision_mesh
(collision_mesh[, options])Add a collision mesh to the planning scene.