Skip to content

Conversation

@ifcquery
Copy link

@ifcquery ifcquery commented Nov 11, 2025

In TriangulateBounds, add check if face bound which is declared as OUTERBOUND, is in fact an inner, not outer bound.

Sometimes IFC models have an inner face bound defined as OUTERBOUND, which can lead to incorrect meshes:

Screenshot 2025-11-11 124015

This patch adds robustness and fixes those meshes:

Screenshot 2025-11-11 124109

No noticeable slowdown in test models

…TERBOUND, is in fact an outer, not inner bound.

Sometimes models have the wrong polygon defined as OUTERBOUND.
This patch adds robustness. No noticeable slowdown in test models
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.

2 participants