Skip to content

Ifc viewer for client applications.

License

Notifications You must be signed in to change notification settings

SoftBIM/IFC.js

 
 

Repository files navigation

IFC.js

This library converts any browser into an IFC viewer. It parses IFC entities to WebGL geometry through THREE.js.

Try it

Application

Example 01

Example 02

Introduction

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.

Contribution

Check the CONTRIBUTING documentation to find out how to take part in this project.

Testing files

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Ifc viewer for client applications.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%