engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

IFC with no materials fails to load

Open simon-gd opened this issue 3 years ago • 3 comments

A simple IFC file that doesn't have properties or materials doesn't load. Since it seems to open fine in BIM Vision, I assume that the IFC is ok, but not 100% sure. Might be worth investigation Screenshot 2021-11-30 09 51 34

This zip contains two version of the model, the original (slightly larger) and a smaller one that was run through Solibri IFC Optimizer (I was hoping that would fix any IFC issues the file might have, but it didn't.

very_simple.zip

Issue moved from web-ifc-three to here

simon-gd avatar Jan 24 '22 13:01 simon-gd

This issue is now a bounty. Whoever solves this will get $100. More information here.

agviegas avatar May 15 '22 23:05 agviegas

Hi, the problem is that the IFC does not contain any IFCSHAPEREPRESENTATION with the identifier "Body", so IFC.JS does not construct any geometry. -> #82=IFCSHAPEREPRESENTATION(#13,'Facetation','SurfaceModel',(#81));

If you replace "Facetation" by "Body" IFC.JS will read this geometry

Is it solved?

QuimMoya avatar Jun 08 '22 11:06 QuimMoya

image By changing all 'Facetation' by 'Body' you obtain this

QuimMoya avatar Jun 08 '22 17:06 QuimMoya