Skip to content

Commit eeddb70

Browse files
authored
Merge branch 'main' into fix-mesh-strip-and-loop
2 parents fbbb2cc + c751b9f commit eeddb70

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
* Added halfedge loops in `compas.datastructures.Halfedge.halfedge_loop`.
1313
* Added halfedge strips in `compas.datastructures.Halfedge.halfedge_strip`.
14+
* Added boundingbox to `compas_rhino.conduits.BaseConduit`
1415

1516
### Changed
1617

src/compas_rhino/conduits/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def enabled(self):
3636
finally:
3737
self.disable()
3838

39+
def CalculateBoundingBox(self, e):
40+
bbox = Rhino.Geometry.BoundingBox(-1000, -1000, -1000, 1000, 1000, 1000)
41+
e.IncludeBoundingBox(bbox)
42+
3943
def enable(self):
4044
"""Enable the conduit."""
4145
self.Enabled = True

0 commit comments

Comments
 (0)