Convert Building Information Models (BIM) to Finite Element Models (FEM) for structural analysis.
| Revit Model | IFC4 ReferenceView | IFC4 StructuralAnalysisView |
![]() |
![]() |
![]() |
bim2fem is an open-source (LGPL) Python-based software that converts 3D architectural BIM models into FEM models ready for structural analysis. Support for transforming 3D building and piping models is implemented for the Industry Foundation Classes (IFC) standard.
- BIM to FEM conversion - Transform architectural models into structural analysis models (support for building and piping elements)
- IFC4 support - Compatibility with IFC standard (release IFC4 Add2 TC1)
- Enhanced IFC manipulation - Extended IfcOpenShell functionality for building and piping elements via IfcPlus subpackage
- GLB export - Convert IFC to GLB format for 3D visualization
- Web interface - User-friendly GUI for non-programmers
- Python API - Full programmatic control for developers
| Module | Description |
|---|---|
bim2fem.core |
Core utility for converting IFC4 from ReferenceView/DesignTransferView to StructuralAnalysisView |
bim2fem.ifcplus |
Extension of the IfcOpenShell-Python library for enhanced IFC manipulation of building and piping models |
bim2fem.bim2glb |
Extension of IfcConvert for improved IFC to GLB conversion for 3D visualization |
If you just want to convert files using the graphical interface:
-
Install Python (<3.14, >=3.9) from python.org
- ✅ During installation, check "Add Python to PATH"
-
Download this project
git clone https://github.com/idaholab/bim2fem.git cd bim2fem -
Double-click
run_bim2fem.pyor run:python run_bim2fem.py
Note: Initial setup may take a couple minutes.
-
Your browser will open with the web interface at
http://localhost:5000
pip install bim2fem# Clone the repository
git clone https://github.com/idaholab/bim2fem.git
cd bim2fem
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements-dev.txt # For development tools and base requirementsimport ifcopenshell
from bim2fem.core import convert_ifc_to_fem
from bim2fem.bim2glb import convert_ifc_to_glb
# Additional Details Coming Soon!We welcome contributions! See our Contributing Guide for detailed instructions.
- Python <3.14, >=3.9
- IfcOpenShell
- NumPy
- Flask (for web interface)
- See
requirements.txtfor full list
- ✅ Windows
- ✅ Linux
- ✅ macOS
Note: The project includes platform-specific IfcConvert executables for each OS.
This project is licensed under the LGPL License - see the LICENSE file for details.
- Developed at Idaho National Lab
- Built on top of IfcOpenShell
- IFC standard by buildingSMART
- PyPI package publication
- Detailed Documentation
- Extension of capabilities for complex building and piping elements
- Support for IFC4x3 input files
- 📖 Documentation (Coming Soon)
- 🐛 Report Issues
- 💬 Discussions
Note: This project is under active development. APIs may change in future versions.


