# Babylon IFC Loader - Load, Render and Export .ifc Files

**URL:** <https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427>\
**Category:** Demos and projects\
**Created:** [February 12, 2026, 7:26pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427 "2026-02-12T19:26:43Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 12, 2026, 7:26pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/1 "2026-02-12T19:26:43Z")

</div>

Hello friends,

I am glad to introduce Babylon IFC Viewer, which allows to load IFC files from URLs or via drag-and-drop, with automatic metadata extraction and 3D rendering.

> **[Babylon IFC Viewer](https://ifc.babylonpress.org/)**
>
> Open and explore IFC models with Babylon.js: project tree, related elements, clipping, and measurement.

One may export displayed IFC models to GLB with the help of the Inspector tools.

- Babylon.js - Fully working 3D scene with camera controls
- web-ifc - Initialized with proper WASM loading
- IFC Loader - Unified loading function for URLs and File objects
- Metadata Extraction - Project info, buildings, units, and property sets
- Material Merging - Intelligent mesh merging to reduce draw calls (needs further optiimization)
- Transparency Handling - Proper rendering of transparent materials
- Drag-and-Drop - Drop .ifc files onto the canvas to load them
- Automatic Cleanup - Previous models are properly disposed when loading new files

Still at the current stage it is just the initial proof of concept.

Next possible steps:

- Add element selection and highlighting
- Add UI controls for metadata display
- Implement property panel for selected elements
- Implement filtering by IFC type
- And more…

Feedback, suggestions and PRs are welcome!

> **[GitHub - eldinor/ifc-babylon: Load and Render IFC Files with Babylon.js](https://github.com/eldinor/ifc-babylon)**
>
> Load and Render IFC Files with Babylon.js

---

<div class="post-metadata">

**Author:** ![AlitarSemiramis](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alitarsemiramis/32/49920_2.png) [@AlitarSemiramis](https://forum.babylonjs.com/u/AlitarSemiramis)\
**Post date:** [February 12, 2026, 9:11pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/2 "2026-02-12T21:11:07Z")

</div>

> [@labris](#):
>
> - ent selection and highlighting
> - Add UI controls for metadata display
> - Implement property panel for selected elements
> - Implement filtering by IFC type
> - And more…
> 
> Feedback, suggestions and PRs are welc

That looks great!

---

<div class="post-metadata">

**Author:** ![hsonguk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/hsonguk/32/37238_2.png) [@hsonguk](https://forum.babylonjs.com/u/hsonguk)\
**Post date:** [February 13, 2026, 4:56pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/3 "2026-02-13T16:56:46Z")

</div>

Nice. Do you have any suggestion about element selection and highlighting?

As lots of objects are merged to reduce draw calls, it lost the individual element ID. One of the method i can think about is to cache the original element face/vertex range to indexing back the original geometry. Not sure if there is any better ways.

Thank you for your great work.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 13, 2026, 6:02pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/4 "2026-02-13T18:02:40Z")

</div>

Thank you for your kind words!

At the moment individual elements are presented as submeshes (which is not good for draw calls but gives the access to those elements). It is possible also to use Face Index Mapping together with some other approaches as well to use the Object Tree from IFC.  
Anyway, I’ll add different merging options during the further development.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 16, 2026, 2:13am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/5 "2026-02-16T02:13:57Z")

</div>

> **[Babylon.js IFC Viewer](https://ifc.babylonpress.org/)**

The project evolves from a basic IFC file loader into a complete, interactive 3D viewer. Key improvements include:

- **Interactive Features** : Added element picking, visual highlighting, and info banners

- **Smart Performance** : Implemented context-aware mesh merging that preserves logical structure (by IFC Type)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/7/7743f8e5363bd5fef943e151453083f88f82b32a.png)

There will be more improvements soon.

> **[GitHub - eldinor/ifc-babylon: Load and Render IFC Files with Babylon.js](https://github.com/eldinor/ifc-babylon)**
>
> Load and Render IFC Files with Babylon.js

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 23, 2026, 7:19am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/6 "2026-02-23T07:19:49Z")

</div>

Finally,

[https://www.npmjs.com/package/babylon-ifc-loader](https://www.npmjs.com/package/babylon-ifc-loader)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [February 23, 2026, 4:24pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/7 "2026-02-23T16:24:41Z")

</div>

Excellent! Thanks for sharing!!

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 23, 2026, 5:10pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/8 "2026-02-23T17:10:26Z")

</div>

The next step after the IFC Loader is a full-featured IFC Viewer.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 26, 2026, 5:58am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/9 "2026-02-26T05:58:50Z")

</div>

## **[2.0.0]**

### **Exposed API Changes**

- `RawIfcModel`:

- `IfcInitOptions` (used by `loadIfcModel`):

- `SceneBuildOptions` (used by `buildIfcModel`):

### **Behavior Changes With API Impact**

- `buildIfcModel` now clears `model.parts` by default (`releaseRawPartsAfterBuild=true`) unless explicitly disabled.

- Storey-based merge restrictions were removed; merge strategy is now element/material-group based.

> **[GitHub - eldinor/ifc-babylon: Load and Render IFC Files with Babylon.js](https://github.com/eldinor/ifc-babylon)**
>
> Load and Render IFC Files with Babylon.js

---

<div class="post-metadata">

**Author:** ![hsonguk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/hsonguk/32/37238_2.png) [@hsonguk](https://forum.babylonjs.com/u/hsonguk)\
**Post date:** [February 26, 2026, 4:06pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/10 "2026-02-26T16:06:44Z")

</div>

With a much refined UI as well. 👍

Is there anyway to trigger the Babylon inspector v1/v2 (e.g. FPS, drawcall etc.)?

I feel the performance is not very far from mesh merged by material, is there any optimisation considered in the viewer?

Many thanks for your nice project.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 26, 2026, 6:46pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/11 "2026-02-26T18:46:26Z")

</div>

If you install IFC Loader locally, the Inspector is called with `Ctrl+I`.  
I separated Loader repo from Viewer repo but they have the same demo site.  
The Viewer has no Inspector at the moment but it will be added later.  
Would be great if you could share some challenging IFC file to test.  
I didn’t implement workers in Loader yet, but it is possible.  
The current optimization is simple - all meshes and materials are frozen.  
I was concentrated more on IFC tree UX.  
Now I am going to deal with material UX and visualization.  
I have in mind different possible merging/instancing approaches. At the moment meshes are merged by construction type and separated as in IFC tree, but of course it is possible to reduce draw calls further.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 27, 2026, 5:28am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/12 "2026-02-27T05:28:14Z")

</div>

I added some status info and material info panel.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/8/d887e36d9ab4393d8bde5084ebb5cc8aff2dcfbd.png)

Will add more merging and optimization options soon.

---

<div class="post-metadata">

**Author:** ![hsonguk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/hsonguk/32/37238_2.png) [@hsonguk](https://forum.babylonjs.com/u/hsonguk)\
**Post date:** [February 27, 2026, 9:58am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/13 "2026-02-27T09:58:49Z")

</div>

Thanks.

You can take a look of the following IFC files.

> **[IFC - Google Drive](https://drive.google.com/drive/folders/1jSOni862GlNmQueKJKE4fGFe-F763eeH?usp=sharing)**

I will share more once i test more non-sensitive IFC files.

They are not the normal ones (typical ones will be muti-GB size).

But it will depends on what scenarios the viewer targets to handle in the end.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/b/aba1a056ce2a13bbfc559aa67668ac098cdb60fa.jpeg)

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 27, 2026, 8:48pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/14 "2026-02-27T20:48:00Z")

</div>

Added worker and different merging options in new Loader version 2.2.1

[https://www.npmjs.com/package/babylon-ifc-loader?activeTab=readme](https://www.npmjs.com/package/babylon-ifc-loader?activeTab=readme)

It deals with large models much better now.  
Only local benchmarking at the moment.  
Will integrate updated Loader into Viewer soon.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [February 28, 2026, 9:38am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/15 "2026-02-28T09:38:24Z")

</div>

Seems much better now 🙂

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/5/0565625f18aace635eabdf38317f2367dbb5d99c.jpeg)

---

<div class="post-metadata">

**Author:** ![hsonguk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/hsonguk/32/37238_2.png) [@hsonguk](https://forum.babylonjs.com/u/hsonguk)\
**Post date:** [March 2, 2026, 10:09am UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/16 "2026-03-02T10:09:53Z")

</div>

The performance is much better. I will try out more samples.

There are some good viewer tools. Such as BIMVision is a quite popular one to take a look of their features.

---

<div class="post-metadata">

**Author:** ![Teych](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/teych/32/52003_2.png) [@Teych](https://forum.babylonjs.com/u/Teych)\
**Post date:** [June 11, 2026, 6:01pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/17 "2026-06-11T18:01:42Z")

</div>

This is a cool project. Do you have any intention to open-source the viewer side as well? I would love to see how you are making all the web-ifc api calls to create that hierarchy view and metadata windows.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [June 11, 2026, 8:10pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/18 "2026-06-11T20:10:38Z")

</div>

Sure. I also think there is the latest version of IFC-Loader there as local package.

> **[GitHub - eldinor/babylon-ifc-viewer: Quite featured lightweight Babylon.js IFC viewer.](https://github.com/eldinor/babylon-ifc-viewer)**
>
> Quite featured lightweight Babylon.js IFC viewer.

Fell free to create PRs 🙂

---

<div class="post-metadata">

**Author:** ![DRLeria](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/drleria/32/50928_2.png) [@DRLeria](https://forum.babylonjs.com/u/DRLeria)\
**Post date:** [June 11, 2026, 8:18pm UTC](https://forum.babylonjs.com/t/babylon-ifc-loader-load-render-and-export-ifc-files/62427/19 "2026-06-11T20:18:19Z")

</div>

Nice and really very useful!
