Skip to content

A lightweight, zero-install BIM viewer for IFC files. Load Industry Foundation Classes models directly in your browser, inspect element properties, and export building data to Excel, all without a backend or build tools.

License

Notifications You must be signed in to change notification settings

davras5/ifc-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IFC Viewer & Excel Exporter

A lightweight, browser-based BIM viewer that loads .ifc files locally and exports building data to Excel. Built with web-ifc-three and SheetJS, it runs entirely in the browser using ES Modules—no build tools or backend required.

Preview

Features

  • Modern Glass UI: A clean, floating interface built with Tailwind CSS and Glassmorphism effects.
  • Fast IFC Loading: Uses web-ifc (WASM) to parse Industry Foundation Classes (IFC) files natively in the browser.
  • 3D Navigation: Smooth orbit controls with damping for intuitive model exploration.
  • Property Inspection: Click any element to view its full set of IFC properties (Name, GlobalID, Dimensions, etc.) in a floating side panel with red highlight selection.
  • Excel Export: Automatically scans the model for specific categories (Walls, Slabs, Doors, Windows, Columns, etc.) and extracts them into a formatted .xlsx report using SheetJS.
  • Sample Model: Built-in sample IFC generator for quick testing without external files.
  • Zero-Install: Single HTML file architecture using an Import Map. No Node.js build steps or bundlers required.

Technology Stack

How to Run

Because this project uses ES Modules and loads WebAssembly (.wasm) files, browser security policies (CORS) prevent it from running directly from the file system (file://). You must use a local static server.

Option 1: VS Code (Recommended)

  1. Install the "Live Server" extension for VS Code.
  2. Open the project folder.
  3. Right-click index.html and select "Open with Live Server".

Option 2: Python

If you have Python installed, open your terminal in the project folder and run:

# Python 3
python -m http.server 8000

Then open http://localhost:8000 in your browser.

Option 3: Node.js

npx serve

License

Licensed under MIT

About

A lightweight, zero-install BIM viewer for IFC files. Load Industry Foundation Classes models directly in your browser, inspect element properties, and export building data to Excel, all without a backend or build tools.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages