Some mess with classifier...

This commit is contained in:
Nicolò P 2025-04-04 17:25:53 +02:00
parent 96bb0388a8
commit 474cb65272

View File

@ -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;
} }