While many projects we discuss tend to be targeted at AEC professionals, there is also a need to communicate with non technical people who need more interactive ways of engaging with BIM.
WebGl provides an opportunity to do this. I've looked into this for a while and generally speaking, Babylon.js seems to be a preferred choice for an open source library for putting up content on the web. Of course there are pros and cons, but the fact that it works with fewer lines of code (in Javascript or Typescript) and is simpler to work with, seems to give it an edge over Three.js. Another close contender is the Godot Game engine, which is also good for cross platform authoring. Godot has the added advantage that it is even more painless to get a 3d model into it, from Blender for example.
Seeing these example projects also really got me interested in Babylon.js for this use case:
While there's ifc.js, a Three.js library that allows you to view ifc files in the browser, I'm yet to see a similar library that does this with Babylon.js, well, apart from Tridify, if you're signed in to their monthly payment plan. I've also not seen any project that attempts to read .ifc files in Godot. I would definitely like to know if stuff like that exists.
I'm also curious to know how this might be implemented in Godot and Babylon. I'm aware of the thread on parsing .ifc files to JSON. Would this serve in some way? How does IfcConvert work? If you convert an Ifc to a .glb file (which both Babylon and Godot support), will you only be carrying along the geometry? Will the metadata be stripped off? If so, can you use both IfcConvert and IfcCSV to ferry both types of information across? It would have been so handy to integrate this right inside Blender, but with the game engine ripped out, Armory Engine still in limbo and UPBGE not supporting WebGl export, I see these two external tools as likely options, but not sure how that can (or should) happen.