| .. | ||
| ifcx-cli | ||
| ifcx-core | ||
| test | ||
| utils/python | ||
| viewer | ||
| .gitignore | ||
| Dockerfile | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| readme.md | ||
IFC5 Viewer
This directory contains the code for the ifc5 viewer, as well as the code that is deployed to the buildingsmart url.
Local viewing
Running npm run serve will allow you to use the viewer locally, as the index.html and its dependency render.mjs are checked in to the repo.
Local development
Local development works as follows:
- Install nodejs if you haven't already
- open command prompt with this folder as a working directory
- run
npm install - Modify the typescript source files (
.ts) as desired (do not modify the render.mjs file directly) - run
npm testto run tests - run
npm build-viewerto update therender.mjsfile which is used by the viewer. - run
npm run serveto visit the viewer, the host and port will be pasted in the cli output. You can keep this running while editing the viewer.