Skip to content

Commit 4d83110

Browse files
authored
Merge pull request #242 from compas-dev/fix-tool-name
Add tool name property
2 parents 5f89cfc + d7fe760 commit 4d83110

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Unreleased
1212

1313
**Added**
1414

15+
* Added ``name`` property to ``Tool`` class.
16+
1517
**Changed**
1618

1719
**Fixed**

src/compas_fab/robots/tool.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ def attached_collision_meshes(self):
5757
acms.append(attached_collision_mesh)
5858
return acms
5959

60+
@property
61+
def name(self):
62+
return self.tool_model.name
63+
6064
@property
6165
def link_name(self):
6266
return self.tool_model.link_name

0 commit comments

Comments
 (0)