We, at spacedesigner3d.com, would like to allow our users to export to industry foundation classes (IFC) format. That can enable architects and builders import projects drawn in our web-based application into environments like Revit or Archicad.
Space Designer projects are composed of generic architectural entities: walls, openings, stairs, floors, ceilings (even false ceilings), furniture, etc. organized in levels. From that perspective, it seems to be similar to IFC's nature.
Until now I could find some middleware solutions in C++, Java or Python.
IfcOpenShell (opensource): parser and code generator for the various IFC schemas. They have some tutorials too.
xBim (opensource): .NET open-source software development BIM toolkit
BimServer (opensource): A Server approach to sore and manipulate the IFC data.
GeometryGymIFC (opensource): Another C# library to generate and parse OpenBIM IFC.
ST-Developer v10 (commercial): libraries for manipulating IFC files in C, C++.
To use them, we have two options:
- Send the project data to a server running these libraries, and export the IFC result from it.
- Embed our application and the IFC library in a desktop application (we have already one using electron) to run these libraries locally.
Perhaps the web-browser is considered off-topic for this task, but I would still like to know if I missed any Javascript equivalent of these libraries? We had this "alone in the void" feeling for fbx format too, and we have developed our fbx generator in Javascript, which works today quite well. In your opinion is it feasible for IFC too?
Despite our extensive knowledge of 3D data structures and formats, making a start in IFC file does not seem to be an easy task, and we do not want to rediscover the wheel. So from where we should start?