diff --git a/src/compas_fab/robots/tool.py b/src/compas_fab/robots/tool.py index f3c8e04c8..932bc7078 100644 --- a/src/compas_fab/robots/tool.py +++ b/src/compas_fab/robots/tool.py @@ -15,12 +15,12 @@ class Tool(Data): """Represents a tool to be attached to the robot's flange. - Attributes + Properties ---------- visual : :class:`compas.datastructures.Mesh` The visual mesh of the tool. frame_in_tool0_frame : :class:`compas.geometry.Frame` - The frame of the tool in tool0 frame. + The tool coordinate frame (TCF) of the tool relative to the planner coordinate frame (PCF). collision : :class:`compas.datastructures.Mesh` The collision mesh representation of the tool. name : :obj:`str` @@ -28,6 +28,19 @@ class Tool(Data): connected_to : :obj:`str` The name of the `Link` to which the tool is attached. Defaults to ``None``. + Attributes + ---------- + tool_model : :class:`compas_robots.ToolModel` + The tool model. + attached_collision_meshes : :obj:`list` of :class:`compas_fab.robots.AttachedCollisionMesh`, read-only + The collision meshes of the tool. + name : :obj:`str`, read-only + The name of the `Tool`. + connected_to : :obj:`str` + The name of the `Link` to which the tool is attached. + frame : :class:`compas.geometry.Frame` + The tool coordinate frame (TCF) of the tool relative to the planner coordinate frame (PCF). + Examples -------- >>> mesh = Mesh.from_stl(compas_fab.get('planning_scene/cone.stl'))