Code Monkey home page Code Monkey logo

tecnosa-ifcjs's Introduction

Quick setup

First, download this project or clone the repository. You can then install the dependencies using:

npm install

and build app.js with:

npm run build

npm run build will bundle the project and create a file called bundle.js in the root directory of the project. and you can active the watch mode :

npm run watch

npm run watch will activate the watch mode, updating that file automatically every time we make changes to the code and save it.

You can then execute the project serving locally with any library of your choosing (e.g. reload) and VSCode Extensions (e.g. Live Server).

Introduction

Creating a BIM application with IFC.js is very easy. You can find the complete project of the guide here. You only need to have Node.js and any IDE installed to follow the steps below. Also, if you don't have any IFC files to follow along, you can get some here or use example file in this project ( readme/01.ifc ).

Using IFC.js requires a basic knowledge of web development (HTML, CSS, JavaScript) and Three.js. If you have no previous experience with Three.js, you should probably look here.

Usage

We will use IFC.js to load IFC files. This can be done by instantiating the loader and creating an event for when the user uploads an IFC file to the HTML input element.

If you have done everything correctly, you should be able to see something similar to this in your local server.

In many BIM applications it is also possible to hide and isolate elements. A common use case is to hide all elements that do not comply with a certain filter or show only those objects belonging to a floor of the building. You can show or hide items using checkboxes.

You can paste your json error in textarea field to highlight your fail elements and show fail reasons.

tecnosa-ifcjs's People

Contributors

erfanmirzaee avatar

Watchers

 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.