Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r-rijnbeek/ifc_webviewer
A webViewer application that visualize IFC content of a file on web browser. Tested with IFC IFC2X3
https://github.com/r-rijnbeek/ifc_webviewer
bim bim-applications docker flask flask-application ifc ifc2x3 ifcopenshell python threejs web-visualization webgl webpage
Last synced: about 1 month ago
JSON representation
A webViewer application that visualize IFC content of a file on web browser. Tested with IFC IFC2X3
- Host: GitHub
- URL: https://github.com/r-rijnbeek/ifc_webviewer
- Owner: R-Rijnbeek
- License: mit
- Created: 2022-02-16T13:45:48.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T10:29:12.000Z (almost 2 years ago)
- Last Synced: 2023-03-11T02:46:12.379Z (almost 2 years ago)
- Topics: bim, bim-applications, docker, flask, flask-application, ifc, ifc2x3, ifcopenshell, python, threejs, web-visualization, webgl, webpage
- Language: Python
- Homepage:
- Size: 6.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IFC_WebViewer
A webViewer application that visualize IFC content of a file on web browser. Tested with IFC2X3
* EXAMPLE: [ Visit web ](http://flask-ifc-viewer.herokuapp.com/)
(it is a free Dynos, so sometimes it take some time to initialize the Heroku instance)## prerequisites
Has anaconda installed on windows. And configured you system variables ($path) of anaconda on windows:
* C:\ProgramData\Anaconda3
* C:\ProgramData\Anaconda3\Scripts
* C:\ProgramData\Anaconda3\Library\bin## Instalation protocol
1. Clone the github repository.
```
$ git clone https://github.com/R-Rijnbeek/IFC_WebViewer.git
```2. Enter the project folder.
```
$ cd IFC_WebViewer
```3. Build the virtual environment on the repository by running:
```
$ build.bat
```4. To activate the environmet and run the scripts:
```
$ activate ./env
$ python entrypoint.py
```If it works. Than you can open your webbrowser and visualize the IFC content on: http://localhost:8080/
## Notes to know:
1. The dependencies to use all features of this repository are writed on the environmet.yml file: OCC, ifcopenshell and Flask
2. If you will only use the content of this repository. On a other project than you need to create an virtual environment that include "ifcopenshell", "OCC" and "flask" and "python=3.9"
* ANACONDA:
```
conda install -c conda-forge pythonocc-core ifcopenshell
conda install -c anaconda flask
```3. This repository is tested with windows 10 and anaconda version 4.11.0.
## Improvments
1. Find alternative to store IFC instances and not having problems when app is deployed with more than on worker
2. Include multiprocessing to make the process rendering process faster on server site.
3. Put an render process bar on client side when ifc file is processed on server site.
4. Remove all tree.js instances when reloading an new object.
5. Will be fine to include and opacity slider GUI on rendering window.
6. Deploy it with a gunicorn/wsgi solution
7. .....