kovacsv / occt-import-js

The emscripten interface for OpenCascade import functionalities.
GNU Lesser General Public License v2.1
141 stars 23 forks source link

Requesting for Help #35

Open BekBoris opened 10 months ago

BekBoris commented 10 months ago

Hello Sir! I am a freshman and I need your help I am trying to add the javascript library to my Nuxt3 project I am trying to create a basic step viewer with the help of three.js the first problem is that the lib is not es6, and also I think I have a problem with the

Screenshot 2023-10-30 at 14 54 27

wasm file

async importOcct() { let occt const test = await import("occt-import-js").then(lib => { occt = lib.default || lib }) return occt }

this is how I am trying import