XbimGeometry icon indicating copy to clipboard operation
XbimGeometry copied to clipboard

Cannot load some IFCs in current version of xBIM Xplorer (XbimGeometry module)

Open mikusovsky opened this issue 4 years ago • 4 comments

We have som IFCs, that are not completely valid, in older version of xBIM Xplorer were these loaded and shown just fine, even when there were some errors in log (visible in screenshot): Untitled We found out, that the problem is causing the commented out code for error handling in XBimGeomteryCreator.cpp file. In older version was this code uncommented, when we try to uncomment it also in newer version, it works and the IFCs are loaded. This is a big problem for us, because we are using the xBIM library in our own viewer and now we are not able to display some IFCs. Is there any reason why this code is commented out in newer version or could it be returned to its previous state? The problematic code starts with line 157 (XbimGeometryCreator.cpp): image

mikusovsky avatar Mar 02 '20 10:03 mikusovsky

Hello,

it is more than two months and there i don't record any notification from this issue. Is there someone who could be able to look at this or could help me in this problem? I will be glad for any response.

mikusovsky avatar May 07 '20 13:05 mikusovsky

Can you sharer the file please? We can't do anything if we can't reproduce it.

martin1cerny avatar May 07 '20 13:05 martin1cerny

Hello,

I've a similar issue with a "not so fully valid" file in 2X3 scheme. With newer version the geometric part is empty. At first I thought the problem was the lack of IfcGeometricRepresentationSubContext but it didn't solve the problem when trying to add them in the IfcStore and updating IIfcShapeRepresentation.

Here are some logs of this file open in XBimExplorer (latest master) under VS

Every XBimSolid is now Empty log_empty_shapes.txt

OlivierC-A3d avatar May 15 '20 09:05 OlivierC-A3d