Skip to content

Commit

Permalink
set proper tolerance in model component
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkasirer committed Sep 11, 2024
1 parent 28adffc commit f6de7ad
Show file tree
Hide file tree
Showing 2 changed files with 6 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

* Implemented a workaround for https://github.com/gramaziokohler/compas_timber/issues/280.

### Removed


Expand Down
4 changes: 4 additions & 0 deletions src/compas_timber/ghpython/components/CT_Model/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
}


# workaround for https://github.com/gramaziokohler/compas_timber/issues/280
TOL.absolute = 1e-6


class ModelComponent(component):
def get_joints_from_rules(self, beams, rules, topologies):
if not isinstance(rules, list):
Expand Down

0 comments on commit f6de7ad

Please sign in to comment.