Skip to content

Commit c1fdf6d

Browse files
committed
adding axes to frame
1 parent c13c04b commit c1fdf6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/compas/geometry/frame.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ def zaxis(self):
190190
self._zaxis = self.xaxis.cross(self.yaxis)
191191
return self._zaxis
192192

193+
def axes(self):
194+
"""The xyz axes of the frame."""
195+
return [self.xaxis, self.yaxis, self.zaxis]
196+
193197
@property
194198
def quaternion(self):
195199
R = matrix_from_basis_vectors(self.xaxis, self.yaxis)

0 commit comments

Comments
 (0)