RobotModel.load_geometry
- RobotModel.load_geometry(*resource_loaders, **kwargs)[source]
Load external geometry resources, such as meshes.
- Parameters:
- resource_loaders
AbstractMeshLoader
List of objects that implement the resource loading interface (
AbstractMeshLoader
) and can retrieve external geometry.- forcebool
True if it should force reloading even if the geometry has been loaded already, otherwise False.
- precision: int, optional
The precision for parsing geometric data.
- resource_loaders
Examples
>>> robot = RobotModel.ur5() >>> robot.load_geometry(LocalPackageMeshLoader(compas_robots.DATA, "ur_description")) >>> print(robot) Robot name=ur5, Links=11, Joints=10 (6 configurable)