GeometryOperations in LD-BIM for Angular
Creator: Alex Schlachter
The library includes a set of geometry operations for three.js-based IFC-geometries (from IFC.js). See Three.js examples here (https://stemkoski.github.io/Three.js/)
Install to Angular project
-
Install package
npm i --save ngx-geometry-operations
-
Install dependencies
npm i --save three web-ifc-three
npm i --save-dev @types/three
npm i --save yuka
npm i --save three-csg-ts
-
Add to app.module.ts
import { GeometryOperationsModule } from 'ngx-geometry-operations';
@NgModule({
imports: [
...,
GeometryOperationsModule
]
})
Use
See examples of use in the LD-BIM viewer.