Skip to content

Commit

Permalink
added missing boolean plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkasirer committed Nov 14, 2024
1 parent 46b2863 commit 8fe2ed8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Fixed `PluginNotInstalledError` when using `Brep.from_boolean_*` in Rhino.

### Removed


Expand Down
15 changes: 15 additions & 0 deletions src/compas_rhino/geometry/brep/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,18 @@ def from_mesh(*args, **kwargs):
@plugin(category="factories", requires=["Rhino"])
def from_loft(*args, **kwargs):
return RhinoBrep.from_loft(*args, **kwargs)


@plugin(category="factories", requires=["Rhino"])
def from_boolean_difference(*args, **kwargs):
return RhinoBrep.from_boolean_difference(*args, **kwargs)


@plugin(category="factories", requires=["Rhino"])
def from_boolean_intersection(*args, **kwargs):
return RhinoBrep.from_boolean_intersection(*args, **kwargs)


@plugin(category="factories", requires=["Rhino"])
def from_boolean_union(*args, **kwargs):
return RhinoBrep.from_boolean_union(*args, **kwargs)

0 comments on commit 8fe2ed8

Please sign in to comment.