ngx-lbd-parsers
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

  1. Install package npm i --save ngx-lbd-parsers

  2. Install dependencies npm i --save n3 process ngx-ifc-geometry-operations yuka three-csg-ts jsonld npm i --save-dev @types/n3 @types/yuka

  3. 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.

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-lbd-parsers

Weekly Downloads

1

Version

0.1.1

License

none

Unpacked Size

2.07 MB

Total Files

66

Last publish

Collaborators

  • madsholten
  • alex-schlachter27