GithubHelp home page GithubHelp logo

kanbang / bim-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from egghunters/bim-viewer

0.0 0.0 0.0 35.88 MB

A WebGL based BIM viewer, built on three.js and Vue. Used to view gltf, ifc, obj, dae, stl models, etc.

License: MIT License

JavaScript 76.20% TypeScript 20.61% CSS 0.56% HTML 0.93% Vue 1.17% SCSS 0.52%

bim-viewer's Introduction

bim viewer

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.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Features

  • Load and view model in 3D view_model.png

  • Orthographic camera ortho.gif

  • Distance measurement measure_dist.gif

  • Area measurement measure_area.gif

  • Angle measurement measure_angle.gif

  • Section plane section_plane.gif

  • Section box section_box.gif

  • Component selection select.gif

  • Display outline outline.gif

  • Transparent mode transparent.gif

Add your own projects

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
    }]
  }

TODOs

There are so many features to be implemented, many bugs to be fixed, as well as enhancements:

  • Annotation manager
  • Viewpoint manager
  • Roaming
  • Model Exploder
  • Object property dialog
  • Toolbar
  • Project Setting
  • Navigation cube
  • Post-processing
  • GIS data (OGC services, GIS files, etc.)
  • ...

three.js

bim-viewer's People

Contributors

egghunters avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.