Autodesk / Autodesk/revit-ifc

PR: Super long IfcOpeningElements exported

Open
#763 2 comments 0 reactions 0 assignees View on GitHub
problem
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.

![grafik](https://github.com/Autodesk/revit-ifc/assets/3014437/e77d9e19-3371-4eab-a522-a7de23bc4476)

## 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

![grafik](https://github.com/Autodesk/revit-ifc/assets/3014437/48770139-2849-4891-9c4e-5024c67183cb)

## 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.