-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I am encountering an issue while trying to convert an .ifc file which is exported from Vectorworks. The process fails, and the conversion does not complete successfully. We can also give you the failing file but it is confidential so we cant post it here. The process fails at this part of the code:
let fragmentBytes = await serializer.process({ bytes: ifcBytes, progressCallback: (progress, data) => { console.log(progress * 100) }, });;

Full Code:
const serializer = new FRAGS.IfcImporter();
serializer.wasm = { absolute: true, path: "https://unpkg.com/web-ifc@0.0.71/" };
const ifcFile = await fetch(url);
const ifcBuffer = await ifcFile.arrayBuffer();
const ifcBytes = new Uint8Array(ifcBuffer);
let fragmentBytes = await serializer.process({
bytes: ifcBytes,
progressCallback: (progress, data) => {
console.log(progress * 100)
},
});
Version
0.0.71
What browsers are you seeing the problem on?
Microsoft Edge
Relevant log output
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working