Skip to content

Commit

Permalink
Merge pull request #281 from gramaziokohler/boolean_tolerance
Browse files Browse the repository at this point in the history
set proper tolerance in model component
  • Loading branch information
chenkasirer authored Sep 11, 2024
2 parents 28adffc + f6de7ad commit 1ebbed9
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 1ebbed9

Please sign in to comment.