XbimGeometry
XbimGeometry copied to clipboard
Missing wall geometry
Hi,
I am working with your latest xBIM libs and encountered a case where the geometry of a wall is completely missing.
The wall is construced by BuildingElementParts (holding detail geometry) and a cutout (window or door).
Assemblies and versions affected:
xBim.Geometry.Engine.Interop 5.1.328 xBim.Essentials 5.1.297
Minimal file to reproduce the issue:
Expected behavior:
We tested some ifc-viewer (right side - BIM Vision) and the geometry is correct.
Actual behavior or exception details:
Your current version of xBim Xplorer 5.1 (left) is able to load the ifc-file, but the wall geometry is not generated.
Thx for the great work!
Regards, Andreas
Hello,
I've found the reason why this happens, but I'm not sure if it's due to a problem with Xbim.Geometry, the XbimXplorer, or just the dataset. The XbimXplorer only renders shape instances which have a representation type of OpeningsAndAdditionsIncluded
. However, in this dataset, the shape instance of the wall has a type of OpeningsAndAdditionsExcluded
. Looking at the the definitions of the representation types here, I'm not sure if the wall should have this type in the first place.
An easy workaround is to render shape instances of either type, but I can't tell if this leads to potential problems in other datasets.
Can someone with more insight into xBim take a closer look at this?
Thanks!
@hyazinthh Hello, did you try to hack the library a bit to render such shapes? If so, didn't you get into troubles? Thinking about doing it myself
@hyazinthh Hello, did you try to hack the library a bit to render such shapes? If so, didn't you get into troubles? Thinking about doing it myself
No, we didn't pursue this any further. It only happens with a few datasets, which are handled properly by other libraries. So the datasets are not totally broken. As far as I remember there are some warnings about not supported operations when loading these datasets in xBim Xplorer.