AddAttachedCollisionMesh

class compas_fab.backends.interfaces.AddAttachedCollisionMesh[source]

Bases: object

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

add_attached_collision_mesh

Add a collision mesh and attach it to the robot.