This library converts any browser into an IFC viewer. It parses IFC entities to WebGL geometry through THREE.js.
IFC (Industry Foundation Classes) is an open format developed by the Building Smart for the exchange of information between applications of different developers in the AEC sector. IFC files generally contain much of the relevant information about a building, including all its geometry and the information associated with each element, possibly including measurement, structural, thermal, acoustic, economic or fire resistance data.
This project reads IFC files, structures their data in memory and converts them to Three.js custom geometric entities for display in any browser. Even though there are many libraries capable of parsing IFC formats, almost all of them depend on communication with a server, with all the disadvantages that this entails. The development of the parser entirely in JavaScript makes it possible to decentralise parsing, so that each client is able to read an IFC file and display its geometry and parameters to the user on its own.
Check the CONTRIBUTING documentation to find out how to take part in this project.
You can find the IFC files for testing here.
Development:
npm run watch
for generating the build files with watch.
npm run dev
for running examples.
Build:
npm run build
for generating the build files.
This project is licensed under the MIT License - see the LICENSE file for details.