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

handle tolerance gaps for WallsLOD200 #100

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Conversation

jamesbradleym
Copy link
Contributor

@jamesbradleym jamesbradleym commented Jun 5, 2024

We were allowing walls within a certain distance threshold to be merged if they were collinear, however this made the mergedcollinear method upset because those walls were too far. This PR projects those wall lines that are too far.

Tested against multiple workflows that that threw a WallsLOD200 Hy-ccups:
https://hypar.io/workflows/4c4eb24a-37d6-49e2-bc48-a291462d274f?api=staging
https://hypar.io/workflows/56fd3882-549f-4690-8846-8c8351eb7fa0?api=staging
https://hypar.io/workflows/7304eda5-1718-4c35-a103-52c2ee35263e?api=staging


This change is Reviewable

@jamesbradleym jamesbradleym requested a review from wynged June 5, 2024 15:22
Copy link
Member

@wynged wynged left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: 1 change requests, 0 of 1 approvals obtained, 1 unresolved discussion (waiting on @jamesbradleym)


LayoutFunctions/WallsLOD200/src/WallsLOD200.cs line 138 at r1 (raw file):

                                }
                            }
                            catch (Exception e)

we actually don't want to do this try/catch because then a hy-ccup won't be trigggered, and that is way that problems become visible to us.

Copy link
Contributor Author

@jamesbradleym jamesbradleym left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 change requests, 0 of 1 approvals obtained, 1 unresolved discussion (waiting on @wynged)


LayoutFunctions/WallsLOD200/src/WallsLOD200.cs line 138 at r1 (raw file):

Previously, wynged (Eric Wassail) wrote…

we actually don't want to do this try/catch because then a hy-ccup won't be trigggered, and that is way that problems become visible to us.

Ah, gotcha - try/catch removed

Copy link
Member

@wynged wynged left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained, all discussions resolved

@jamesbradleym jamesbradleym merged commit ff1aeeb into master Jun 7, 2024
1 check passed
@jamesbradleym jamesbradleym deleted the wall-merge-tolerance branch June 7, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants