ngx-lbd-components
v0.1.4
Published
This library contains a set of components that make it easier to work with Linked Building Data (LBD) in Angular.
Downloads
11
Readme
NGX LBD Components
This library contains a set of components that make it easier to work with Linked Building Data (LBD) in Angular.
Instructions to come....
Install the library
npm i --save ngx-lbd-components
Install dependencies and dev dependencies
npm install --save web-ifc openbim-components spark-md5 jsonld three unzipit client-zip async-oxigraph
npm i --save-dev @types/three @types/jsonld
Copy node_modules/web-ifc/web-ifc.wasm
and node_modules/web-ifc/web-ifc-mt.wasm
to a subfolder in assets
named ifcjs
.
Add assets to angular.json
{
/*...*/
"assets": [ // Import every assets
{
"glob": "**/*",
"input": "./node_modules/ngx-lbd-components/assets",
"output": "/assets/"
}
]
}
TODO
- Fix problem with properties parsing