Skip to content

Commit

Permalink
Merge branch 'main' into make_model_elements_generic
Browse files Browse the repository at this point in the history
  • Loading branch information
obucklin committed Jul 8, 2024
2 parents b5d4582 + 86e8c82 commit 95a8aa2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.0
current_version = 0.9.1
message = Bump version to {new_version}
commit = True
tag = True
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed


## [0.9.1] 2024-07-05

### Added

### Changed

* Fixed error in BakeWithBoxMap component.

### Removed


## [0.9.0] 2024-06-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If you found an issue or have a suggestion for a dandy new feature, please file

We love contributions!

Check the [Contributor's Guide](https://github.com/compas-dev/compas_timber/blob/main/CONTRIBUTING.md)
Check the [Contributor's Guide](https://github.com/gramaziokohler/compas_timber/blob/main/CONTRIBUTING.md)
for more details.

## Credits
Expand Down
Binary file modified examples/Grasshopper/dynamic_gh_demo.gh
Binary file not shown.
2 changes: 1 addition & 1 deletion src/compas_timber/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__title__ = "compas_timber"
__description__ = "COMPAS package for modeling, designing and fabricating timber assemblies."
__url__ = "https://github.com/gramaziokohler/compas_timber"
__version__ = "0.9.0"
__version__ = "0.9.1"
__author__ = "Gramazio Kohler Research"
__author_email__ = "gramaziokohler@arch.ethz.ch"
__license__ = "MIT license"
Expand Down
6 changes: 1 addition & 5 deletions src/compas_timber/ghpython/components/CT_Bake_BoxMap/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
from Rhino.Geometry import Plane
from Rhino.RhinoDoc import ActiveDoc

from compas_timber.consumers import BrepGeometryConsumer


class BakeBoxMap(component):
def RunScript(self, model, map_size, bake):
Expand All @@ -39,10 +37,8 @@ def RunScript(self, model, map_size, bake):
return

try:
geometries = BrepGeometryConsumer(model).result

frames = [frame_to_rhino(b.frame) for b in model.beams]
breps = [g.geometry.native_brep for g in geometries]
breps = [beam.geometry.native_brep for beam in model.beams]

if frames and breps:
rs.EnableRedraw(False)
Expand Down

0 comments on commit 95a8aa2

Please sign in to comment.