# Creating federated IFC models

**URL:** <https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957>\
**Category:** Developers\
**Created:** [October 29, 2019, 4:25am UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957 "2019-10-29T04:25:24Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![jonm](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jonm/32/16_2.png) [@jonm](https://forums.buildingsmart.org/u/jonm)\
**Post date:** [October 30, 2019, 10:49pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/21 "2019-10-30T22:49:37Z")

</div>

I checked the non-manifold solid in the Geometry Gym IFC plugin for rhino, seems the problematic plate simply doesn’t define the cap faces with voids. You can see the count is 30, the other plates have 32.

 ![191031%20faceted%20brep%20face%20count](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/1X/e3dd27fe6e0292694d1c3e47949a172e601eda82.png)

---

<div class="post-metadata">

**Author:** ![Hans\_Lammerts](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/hans_lammerts/32/835_2.png) [@Hans\_Lammerts](https://forums.buildingsmart.org/u/Hans_Lammerts)\
**Post date:** [October 31, 2019, 5:55pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/22 "2019-10-31T17:55:53Z")

</div>

Yes both in the graphics and in the numeric you can see that the ifc conversion lost something along the way. It’s not very stable.

---

<div class="post-metadata">

**Author:** ![agron](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/agron/32/1158_2.png) [@agron](https://forums.buildingsmart.org/u/agron)\
**Post date:** [November 1, 2019, 9:13pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/23 "2019-11-01T21:13:33Z")

</div>

Ah, your approach with the liking would be an ideal thing which I am also fighting to achieve in some software environments. One of them is Solibri where for me it would be most useful.  
I remember we had once this discussion where I shared a video about archicad. For the time being we will have to stick with the merging.

---

<div class="post-metadata">

**Author:** ![daviddelven](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/daviddelven/32/2384_2.png) [@daviddelven](https://forums.buildingsmart.org/u/daviddelven)\
**Post date:** [November 3, 2019, 3:05pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/24 "2019-11-03T15:05:14Z")

</div>

What about original element GUIDs of the source IFC models once they are already federated in SimpleBIM and saved as single models with only one IfcProject?

---

<div class="post-metadata">

**Author:** ![gester](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/gester/32/601_2.png) [@gester](https://forums.buildingsmart.org/u/gester)\
**Post date:** [November 4, 2019, 11:54pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/25 "2019-11-04T23:54:20Z")

</div>

i’m using simplebim for a few years sporadically. you can repair certain things there, but the majority of the ifc values are locked. you can’t modify the ifc structure at will…

---

<div class="post-metadata">

**Author:** ![claimred](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@claimred](https://forums.buildingsmart.org/u/claimred)\
**Post date:** [August 5, 2020, 8:00pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/26 "2020-08-05T20:00:06Z")

</div>

Hey @Moult! I was wondering if you had any success merging IFC files using IfcOpenShell. It shouldn’t be _that_ hard I imagine. Or am I missing something? [https://github.com/IfcOpenShell/IfcOpenShell/issues/237](https://github.com/IfcOpenShell/IfcOpenShell/issues/237)

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [August 6, 2020, 10:33am UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/27 "2020-08-06T10:33:38Z")

</div>

@claimred Here’s 10 lines of code that merges IFC files: [https://github.com/IfcOpenShell/IfcOpenShell/commit/e56648e393fa9a1a3c632eeb39259cea23435c79](https://github.com/IfcOpenShell/IfcOpenShell/commit/e56648e393fa9a1a3c632eeb39259cea23435c79)

This is a highly simplistic merge. I.e., there are some assumptions:

1. The two files do not share GUIDs.
2. The two files have the same units. (I believe in IFC5, they will stick to metric units, which will make life so much easier)
3. Your resulting IFC viewing program is lenient. For example, it won’t throw a fit if it finds the Model geometric context defined twice.
4. It will not merge sites or building storeys or other spatial elements for now. It’ll simply merge the IfcProject elements.

Let me know if that’s useful. If you need more features, let me know and it can be refined further.

---

<div class="post-metadata">

**Author:** ![daviddelven](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/daviddelven/32/2384_2.png) [@daviddelven](https://forums.buildingsmart.org/u/daviddelven)\
**Post date:** [April 17, 2024, 3:18pm UTC](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957/28 "2024-04-17T15:18:11Z")

</div>

To add another “lab” workaround for some sort of Federation using a bSI Standard: what about adding the IFCs as Snippets into a BCF used as a federated container? I know, just a dumb heresy…

[Previous page](https://forums.buildingsmart.org/t/creating-federated-ifc-models/1957.md?page=1)
