A lightweight, web-based IFC model viewer that allows you to view and interact with IFC (Industry Foundation Classes) models directly in your browser. Built with @thatopen/components, it provides an easy and seamless viewer for construction and BIM professionals.
-
Import/Export
- Load IFC files directly in your browser
- Import fragment files (.frag)
- Export fragment files for faster loading
- Dispose/reset scene memory
-
Selection & Visibility
- Select and highlight model elements
- Toggle element visibility
- Isolate selected elements
- Show/hide all elements
-
Properties & Information
- View detailed element properties
- Access model classification system
- Search and filter properties
- Real-time property updates
-
Viewer Settings
- Configure viewer appearance
- Adjust background color
- Toggle grid visibility
- Customize viewing experience
ifcBrowser/
├── index.html # Main entry point
├── vite.config.js # Vite configuration
├── tsconfig.json # TypeScript configuration
├── src/
│ ├── viewer/ # TypeScript files for the IFC viewer
│ │ └── index.ts # Main viewer implementation
│ └── styles/ # CSS styles
│ └── main.css # Main stylesheet
- Download the files inside the
distfolder. - Paste the files into your server.
- Open the
index.htmlfile in your browser. - Click on the "Import IFC" button to load an IFC model.
- Node.js (Latest LTS version recommended)
- npm or yarn package manager
-
Clone the repository:
git clone https://github.com/OcarCampos/ifcBrowser.git cd ifcBrowser -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to the local development server (usually http://localhost:5173)
To create a production build:
npm run buildThe built files will be in the dist directory.
Check out our usage tutorial video for a walkthrough of all features.
Contributions are welcome! Please feel free to submit a Pull Request.
- GitHub: @OcarCampos
- Email: ocar.campos@attitude.cl
This project is licensed under the ISC License - see the LICENSE file for details.
- Built with That Open Engine components
- Special thanks to the ThatOpenEngine community