I just have a simple question, I want to be able to make threejs code so that I can load a house model, and I want to create something so i can create things like floor plans, update the geometry, and other things, similar to CAD softwares.
I have to admit that I don’t know IFC as a model format for 3D web applications. I know that GLTF is very suitable for web applications.
Since you mention IFC in connection with a house, I suspect that it is a 3D format from the architectural sector.
GLTF only contains data that is really relevant to the 3D model. So that you have an efficient application. I don’t know IFC so I can’t say anything about it, just speculate.
I suspect that if this is a 3D architectural format because you are talking about buildings, there could be a lot of extra things in the file format for organizing the architectural project. This can be very extensive data that is important for the architectural project, but in a 3D application and particularly for the web it is just unnecessary ballast that causes unnecessarily long loading times and uses more RAM. So if IFC contains a lot of organizational data about the architectural project, it is good for the construction project but bad for the web app.
GLTF is a 3D model format that is particularly suitable for web applications because it only contains the model relevant data.
A GLTF model can be very complex and contain a lot of data. But only datas which are important for the 3D world.
@Dieter_Banaag here is a link you can check which loads three.js IFC example into the Online 3D Viewer.
Even though this viewer is not frequently updated it still allows to select individual meshes and see associated metadata and other info. It also allows for exporting IFC model to other formats including GLB.
IFC is for buildings, ducts, HVAC, construction sites, field engineers and such.
GLTF is for web based graphics, like games, ads, aliens, visualizations etc.
May be worth noting, building CAD applications is very complex, you would probably end up using both of these file formats if you are doing so in the cloud.