Autodesk / Autodesk/revit-ifc

PR: Beam Openings get displaced in IFC4 (along Z-Axis); geometry is wrong (not in 2x3...)

Open
#708 19 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

When using any IFC4 export settings, some openings in steel beams get exported with wrong Z-height:
[SteelOpenings_IFC4.ifc.txt](https://github.com/Autodesk/revit-ifc/files/13424325/SteelOpenings_IFC4.ifc.txt) =>wrong openings are on lowest levels
![image](https://github.com/Autodesk/revit-ifc/assets/78563314/a973fc32-3af4-4ff3-8ba1-355cd83245ab)

What we tested on multiple machines, using Rvt2023 and 2024:
- changing beam families =>some openings were corrected, but not all
- changing opening families =>no change
- recreating all openings (Ctrl.C, Ctrl.V) =>most openings were corrected, but not all
- IFC4x3, ReferenceView etc =>no change
- IFC2x3 =>everything is fine

using 2x3 export settings, every single one is perfect: [SteelOpenings_IFC2x3.ifc.txt](https://github.com/Autodesk/revit-ifc/files/13424338/SteelOpenings_IFC2x3.ifc.txt)
![image](https://github.com/Autodesk/revit-ifc/assets/78563314/60267fc4-ae8a-4e6c-9a83-8962735730c2)

we export the openings as "Building Element Parts":
![image](https://github.com/Autodesk/revit-ifc/assets/78563314/42c93339-491e-4da1-a8b0-8dcf8ce23fe4)

but for some openings, an "Opening" is still created, which gets then positioned wrong:
![image](https://github.com/Autodesk/revit-ifc/assets/78563314/9a4fd587-57f2-4d1e-a794-ee2de15fdf25)

We tested on several exporter versions, with no change: 23.3.1.0 to 24.2.0.49
While we really don´t want to go back to 2x3, having geometrically wrong openings doesnt really leave us with much choice.

I am using Win11 23H2...

### Revit Version

2024.0.x

### IFC for Revit Addon Version

Other / None

### Windows Version

11 22H2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the supplied SteelOpenings_IFC4.ifc.txt and SteelOpenings_IFC2x3.ifc.txt cases with the exporter versions mentioned. Compare how IFC4 handles openings exported as Building Element Parts and the remaining Opening entities, focusing on their Z placement. Done means the affected IFC4 openings have the correct geometry and are no longer displaced relative to the IFC2x3 result.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.