ngx-lbd-parsers
v0.1.1
Published
*Creator: Mads Holten Rasmussen*
Downloads
6
Readme
Linked Building Data parsers for Angular
Creator: Mads Holten Rasmussen
The library includes a set of parsers from IFC to LBD on Angular. The various parsers take an IfcManager (from IFCjs) and a modelID and return an N3 store.
Install to Angular project
Install package
npm i --save ngx-lbd-parsers
Install dependencies
npm i --save n3 process ngx-ifc-geometry-operations yuka three-csg-ts jsonld
npm i --save-dev @types/n3 @types/yuka
Add polyfills
(window as any).global = window;
// prestep: `npm i -S process`
import * as process from 'process';
window['process'] = process;
Add to app.module.ts
import { LBDParsersModule } from 'ngx-lbd-parsers';
@NgModule({
imports: [
...,
LBDParsersModule
]
})
Use
See examples of use in the LD-BIM viewer.