IFC Issue

Is it some type of issue/error or I’m missing some step or doing it a wrong way?

I made a parametric tapered footing in FreeCAD and then exported that file as IFC. I was able to open that file both in FreeCAD and Revit. Then I exported the save file as IFC from Revit. Now I was able to open the file correctly in Revit but got some changes when opened in FreeCAD. Also the file size of IFC increased when saved from Revit.

Why did it happen? Does Revit make some changes with IFC?

The files are attached with this post.


Nirbhay Chauhan
https://cnirbhay.wordpress.com
https://www.facebook.com/eklavyaslt
https://www.youtube.com/channel/UCdkonWvx-bL2TIvDtnz2BiQ
TaperedFooting.FCStd (30.5 KB)
FileFromRevit.ifc (21.1 KB)
FileFromFreeCAD.ifc (8.91 KB)

This is strange, it seems Revit is producing a wrong geometry. I had never seen that before. Are you using the opensource exporter or the default one?
Otherwise, open the file in a text editor, you’ll see. Most of the file increase is because Revit adds a lot of properties to objects, which is actually not a bad thing. It helps Revit to recreate the correct parameters on import. At some point we could start doing that in FreeCAD as well to recreate more faithful parametric objects.

I’m using the default exporter, i.e, File>Export>IFC

What type of properties does Revit add and why does it do so when we have already defined the properties in FreeCAD?

Also, there is a need to save the created parametric object as a library file so that the user can open that object as a preset, something like Revit does as RFA file, or please correct me if there is already some way that exists to do so.

Thank you.


Nirbhay Chauhan
https://cnirbhay.wordpress.com
https://www.facebook.com/eklavyaslt
https://www.youtube.com/channel/UCdkonW … IvDtnz2BiQ

You should try the opensource IFC exporter (search for it on the net, it’s hosted on sourceforge). The export will be MUCH better
About the properties, they are internal to Revit, I can’t tell you exactly what they’re used for..
About libraries, that is a big problem with IFC files, you cannot have an IFC file without a site and a building, therefore it’s hard to use them as libraries. But I think there is a project to change that in a next version of the IFC schema definition.