PR: Super long IfcOpeningElements exported
- Dominant language
- C#
- Stars
- 637
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
### Problem Description
We ran into a curious case where the way elements were joined resulted in very elongated ```IfcOpeningElement```s being exported. We encountered multiple instances of this issue but were able to reduce it to a fairly minimal model.

## Setup
- Roof construction modeled as floor slab
- Sketch contains some openings
- Roof covering modeled as roof
- Sketch contains no openings
- Geometry joined with floor slab
- Opening in roof element modeled as generic model
- Geometry joined with floor slab
- Located on top of opening sketch of floor slab
Model located here:
https://github.com/andydandy74/MyIssues/blob/master/RevitIFC763/158_IFC_ElongatedIfcOpeningElements.rvt

## Workaround
After unjoining floor and roof geometry and cutting generic model from roof, all ```IfcOpeningElement```s export properly. The element that's causing this is the generic model void family, likely because it is located exactly above an opening of the same size in the floor slab below.
### Revit Version
2024.2
### IFC for Revit Addon Version
24.2
### Windows Version
10 22H2
Contributor guide
Research direction
Start with the linked Revit model, 158_IFC_ElongatedIfcOpeningElements.rvt, and export it using the reported Revit and IFC for Revit versions. Compare the result with the unjoined and cut workaround described in the issue. Done means the model exports without abnormally elongated IfcOpeningElements in the original setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100