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

GEM113 no colinear arcs (IVS-303) #335

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

aothms
Copy link
Collaborator

@aothms aothms commented Dec 28, 2024

Very similar to the face planarity check (but opposite, faces need to be planar, arcs need to be not collinear). Expect conflicts with the two PRs, but just because both add novel stuff in the same place. No functional conflicts.

@Ghesselink
Copy link
Contributor

Installed mpmath on the validate platform

Doing some UAT on the platform, the testfiles behave as expected (checking the header policy checks at the same time)
image
image
image
image

@evandroAlfieri evandroAlfieri changed the title GEM113 no colinear arcs GEM113 no colinear arcs (IVS-303) Jan 8, 2025

representation_context = geometry.recurrently_get_entity_attr(context, inst, 'IfcRepresentation', 'ContextOfItems')
precision = mp.mpf(geometry.get_precision_from_contexts(representation_context))
Copy link
Contributor

Choose a reason for hiding this comment

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

We continue to generate splinters in regards to how geometric precision is handled. It would be nice to consolidate this all in one spot, maybe in sth like /utils/precision.py.

Does not need to be addressed immediately and possibly fits nicely with refactoring in IVS-306.

…ing-colinear-points.feature

Co-authored-by: Evandro Alfieri <[email protected]>
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.

4 participants