Skip to content

Commit 8fe2ed8

Browse files
committed
added missing boolean plugins
1 parent 46b2863 commit 8fe2ed8

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
* Fixed `PluginNotInstalledError` when using `Brep.from_boolean_*` in Rhino.
15+
1416
### Removed
1517

1618

src/compas_rhino/geometry/brep/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,18 @@ def from_mesh(*args, **kwargs):
4343
@plugin(category="factories", requires=["Rhino"])
4444
def from_loft(*args, **kwargs):
4545
return RhinoBrep.from_loft(*args, **kwargs)
46+
47+
48+
@plugin(category="factories", requires=["Rhino"])
49+
def from_boolean_difference(*args, **kwargs):
50+
return RhinoBrep.from_boolean_difference(*args, **kwargs)
51+
52+
53+
@plugin(category="factories", requires=["Rhino"])
54+
def from_boolean_intersection(*args, **kwargs):
55+
return RhinoBrep.from_boolean_intersection(*args, **kwargs)
56+
57+
58+
@plugin(category="factories", requires=["Rhino"])
59+
def from_boolean_union(*args, **kwargs):
60+
return RhinoBrep.from_boolean_union(*args, **kwargs)

0 commit comments

Comments
 (0)