Main JS file
We're going to copy most of the code from ifc-file-reader.js
into our main.js
file. Please note that this example is somewhat outdated. E.g. It doesn't use a scene picker.
Note that readFile(input)
has been changed. We will start with an empty function and add in the FileReader
.
Til' this point, everything should be pretty easy. Now - let's start implementing the Web Worker.
Creating a new worker is super easy. Use this for more detailed instruction.
Last updated