Skip to content

Commit b7ff2d3

Browse files
committed
reverting adding box as well
1 parent 06e4484 commit b7ff2d3

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Unreleased
99

1010
### Added
11-
* Added `Frame.axes` and `Box.axes`
11+
* Added `Frame.axes`
1212

1313
### Changed
1414

src/compas/geometry/shapes/box.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ class Box(Shape):
6565
Diagonal of the box.
6666
dimensions : list[float], read-only
6767
The dimensions of the box in the local frame.
68-
axes : list[:class:`~compas.geometry.Vector`], read-only
69-
The XYZ axes of the box frame.
7068
area : float, read-only
7169
The surface area of the box.
7270
volume : float, read-only
@@ -265,10 +263,6 @@ def diagonal(self):
265263
def dimensions(self):
266264
return [self.xsize, self.ysize, self.zsize]
267265

268-
def axes(self):
269-
"""The XYZ axes of the box frame."""
270-
return self.frame.axes
271-
272266
@property
273267
def area(self):
274268
return 2 * self.xsize * self.ysize + 2 * self.ysize * self.zsize + 2 * self.zsize * self.xsize

0 commit comments

Comments
 (0)