assimp / assimp

The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
https://www.assimp.org
Other
10.53k stars 2.86k forks source link

[IFC] Bad Geometry using IFCLoader ? #2938

Open JordanOlivet opened 4 years ago

JordanOlivet commented 4 years ago

Hey guys,

I'm using Assimp throught Helixtoolkit in order to load and display IFC files. I'm currently making a migration from the xBim viewer to Helixtoolkit.SharpDX viewer.

I found a file that is rendered differently between the two viewers (xBim and Helix). So I tested this file in few IFC viewers in order to find what's going on.

Bim Vision : bim_vision

Solibri : solibri

Assimp viewer : assimp_viewer

Assimp viewer (far view) : assimp_viewer__far_view

Helixtoolkit.SharpDX viewer : helixtoolkit

Helixtoolkit.SharpDX viewer (far view) : helixtoolkit_far_view

As you can see, only viewers using Assimp generate this very long line.

By zooming in the middle of the building, I found that the line is the top of a broken representation of a wall.

So, I conclude that it's an Assimp problem.

Also, if you take closer look at openings in both Assimp and Helix viewer, you can see that there have, for the most, a wrong geometry because each opening is cut by the wall in diagonal (I think it's the wall). Maybe the two problems are related. I don't know.

Or there is something I'm missing ?

Thanks in advance for any response, Jordan Olivet


Wall's GUID (broken representation) : 0r6vDvzyf7OA7vakNzZuTX

Zip containing two files, the complete one and one with just the first storey (where the problem takes place) : ifc_files.zip

kimkulling commented 4 years ago

Looks funny! Thanks a lot for the report. We will te time to take a deeper look.

Great work, we are using Helix-Toolkit in my compary by the way.

JordanOlivet commented 4 years ago

Oh nice ! Thanks @kimkulling.

I also use Helixtoolkit for my company. In fact, I found this issue at work =).

I hope you'll find what's going wrong.