examples
examples copied to clipboard
Error loading ifc-file without Webworkers/ifcworker in Vue example
I'm trying to load a ifc-file in a vue project without using webworkers. The error message received can be seen below.

This is while running the simple vue example code. To disable the webworker i did the following:
async setupIfcLoader() { let self = this; // await self.ifcLoader.ifcManager.useWebWorkers(true, "../IFCjs/IFCWorker.js") self.ifcLoader.ifcManager.applyWebIfcConfig({ COORDINATE_TO_ORIGIN: true, USE_FAST_BOOLS: false }); self.setupThreeMeshBVH(); }
Removed the line which uses webworkers in IFC/ifcManager.js
I have tried using setwasmpath to a public folder and the root. When placing the wasm files in a public folder i could download it when copying the url inside setwasmpath and pasting after localhost in the browser.
Not really sure what is wrong!