Some mess with classifier...
This commit is contained in:
parent
96bb0388a8
commit
474cb65272
@ -8,6 +8,8 @@ import * as WEBIFC from 'web-ifc';
|
|||||||
*/
|
*/
|
||||||
const BIM = {};
|
const BIM = {};
|
||||||
BIM.clipper = undefined;
|
BIM.clipper = undefined;
|
||||||
|
BIM.classifier = undefined;
|
||||||
|
BIM.WEBIFC = WEBIFC;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -112,14 +114,11 @@ BIM.loadIfc = async function (buffer, name) {
|
|||||||
this.world.meshes.add(fragment.mesh);
|
this.world.meshes.add(fragment.mesh);
|
||||||
}
|
}
|
||||||
|
|
||||||
classifier.byEntity(model);
|
|
||||||
const entities = classifier.list.entities;
|
|
||||||
|
|
||||||
// Useful?
|
// Useful?
|
||||||
this.fragments = fragments;
|
this.fragments = fragments;
|
||||||
this.model = model;
|
this.model = model;
|
||||||
|
|
||||||
console.log(entities);
|
BIM.classifier = classifier;
|
||||||
|
|
||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user