Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests TBD osut050 branch #28

Merged
merged 5 commits into from
Apr 17, 2024
Merged

Tests TBD osut050 branch #28

merged 5 commits into from
Apr 17, 2024

Conversation

brgix
Copy link
Member

@brgix brgix commented Apr 7, 2024

Preliminary testing of OSut (branch "geo"), a TBD dependency. Although 99% done, there are likely minor improvements to add to OSut before releasing later this month. Very minor adjustments are expected for TBD (i.e. no anticipated change in test results).

@brgix brgix added the enhancement New feature or request label Apr 7, 2024
@brgix brgix self-assigned this Apr 7, 2024
@@ -6845,7 +6853,7 @@

# Same exercise, yet provide clerestory with Frame & Divider.
fd2 = OpenStudio::Model::WindowPropertyFrameAndDivider.new(model_FD)
width2 = 0.03
width2 = 0.06
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adjustment is now required for OpenStudio SDK versions v3.2.1 through v3.3.0, as described here. Previously, TBD only relied on OSut's (older) overlaps? method (returning true or false) to detect whether 2 polygons intersected (e.g. when dealing with Frame & Divider widths). OSut's overlaps? will soon depend on a related overlap method (which instead returns the actual intersecting polygon, relying on OpenStudio.intersect function). As discussed in the quoted OSut PR comment, v3.2.1 and v3.3.0 OpenStudio.intersect versions do not catch narrow intersections (like narrow window frames). Version v3.0.0, as well as any version > 3.3.0, work just fine. So simply relaxing the test here.

@brgix brgix merged commit 0304db3 into develop Apr 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant