Forge BIM QTO application based on Node.js.
- Install git.
- Install Node.js LTS.
- Install Visual Studio Code.
- Clone or download code from Git
- Run
npm install
. This will install all dependencies and build both server and client. - Enter
set FORGE_CLIENT_ID=xxxx
wherexxxx
is unique key for your Forge application. The key can be generated on Forge portal. - Enter
set FORGE_CLIENT_SECRET=xxxx
wherexxxx
is unique secret for your Forge application. - Start node server by typing
npm start
.
Build Docker image:
docker build . -t forge-bim-qto
To run application from image locally use following command:
docker run --env-file .env -it --rm -p 5000:3000 forge-bim-qto
The application can be then accessed on port 5000:
http://localhost:5000
- Open web page here. Note that it's using shared instance so it may take a while when website opens when running for first time.
- Click on Quanity Take Off button in the main toolbar.
- The empty QTO panel is displayed.
- In the Report dropdown select Doors report.
- List of door elements is displayed. Corresponding elements in the model are highlighted and themed using colors from the list.
- In the Property dropdown select another property (i.e. Height). The list will be updated.
- When row in the list is selected then corresponding elements in the model will be highlighted.