-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
I am using the IFCjs with vue example project. In the IfcManager.js function "setupIfcLoader" a path to a local IFCWorker is used:
async setupIfcLoader() {
let self = this;
await self.ifcLoader.ifcManager.useWebWorkers(true, '../IFCjs/IFCWorker.js')
await self.ifcLoader.ifcManager.applyWebIfcConfig({
COORDINATE_TO_ORIGIN: true,
USE_FAST_BOOLS: false
});
self.setupThreeMeshBVH();
}
Can that path be changed to the IFCWorker that is in the node module, so the local file can be removed from the project directory?
Activity
fedelaport commentedon Mar 2, 2023
That's loaded on runtime. It has to be an accesible URL. The browser will request the file.