VrepClient.add_building_member
-
VrepClient.
add_building_member
(robot, building_member_mesh)[source] Adds a building member to the 3D scene and attaches it to the robot.
- Parameters
robot (
compas_fab.robots.Robot
) – Robot instance to attach the building member to.building_member_mesh (
compas.datastructures.Mesh
) – Mesh of the building member that will be attached to the robot.
- Returns
int – Object handle (identifier) assigned to the building member.
Note
All meshes are automatically removed from the scene when the simulation ends.