MoralesRX 0a4360913a 修改打包根路径 | il y a 1 an | |
---|---|---|
public | il y a 1 an | |
src | il y a 1 an | |
.editorconfig | il y a 1 an | |
.eslintignore | il y a 1 an | |
.eslintrc.js | il y a 1 an | |
.gitignore | il y a 1 an | |
README.md | il y a 1 an | |
babel.config.js | il y a 1 an | |
package.json | il y a 1 an | |
tsconfig.json | il y a 1 an | |
vue.config.js | il y a 1 an | |
yarn.lock | il y a 1 an |
BIM Viewer is a WebGL based front-end project that I created in my spare time. It is aimed to display BIM (Building Information Modeling) models, it supports gltf, obj, fbx, ifc, dae, etc. Since it is build on top of three.js, you can easily extend it to support any format that three.js support.
This project is not mature yet, it's more like a demostration. There are many TODOs as you can see below. It is unfortunate that I could not continue work on it, that's why I make it open source, and I hope it could benifit others who are in BIM/AEC industries.
npm install
npm run serve
npm run build
npm run lint
You can add your own projects or models by editing projects.json. Add following to projects.json, and put your models under public/projects/my_project
folder.
{
"id": "my_project",
"name": "my project",
"thumbnail": "projects/my_project/thumbnail.png",
"models": [{
"name": "my model",
"src": "projects/my_project/my_model.gltf",
"merge": false,
"edges": true
}]
}
There are so many features to be implemented, many bugs to be fixed, as well as enhancements:
three.js
v0.148.0