ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
573 stars 170 forks source link

[Feat]: Web-ifc + wasm build documentation/tutorial #858

Closed Issa369 closed 1 week ago

Issa369 commented 3 weeks ago

What is your idea?

i just want to suggest something that might be super helpful to you guys and for your community, how about you guys make a tutorial on how to compile and create our own wasm files and our own web-ifc library build so that people can actually help reduce the bugs that are inside engin_web-ifc.

Doing so will have a huge impact on you guys's work.

Like for example I'm facing a lot of problem with mis-alignment issues or geometries not render but i cant fix them because the bug is inside web-ifc and i cant upload the library locally and make my own fixes.

beachtom commented 2 weeks ago

Can you let me know what errors you are getting - and I will help. Then we can use this to improve the documentation

Issa369 commented 2 weeks ago

I honestly struggled with installing the prerequisites for the web-ifc library to generate for me my custom wasm files, which was something related to "emcmake cmake", I tried downloading the cmake but i failed there was no documentation to follow related to the web-ifc library the provided scripts didnt work even when i downloaded cmake. Also i wanted to edit and modify the library to make custom fixes. for example, i want to be able to edit on the whole library ( including creating my wasm files ) and make my own fixes but i have to know how to create the build files.

beachtom commented 2 weeks ago

So generally you need to install cmake from here: https://cmake.org/download/

Then emscripten https://emscripten.org/docs/getting_started/downloads.html and make sure both are in your path.

You also need mingw from here https://sourceforge.net/projects/mingw/

If you've got these installed let me know and we can move onto the next step

Issa369 commented 2 weeks ago

Alright I'll let you know what happens

beachtom commented 1 week ago

Closing for now - please re-open if you have more questions