kovacsv / occt-import-js

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

Use occt-import-js report an error #4

Closed littleBelle closed 2 years ago

littleBelle commented 2 years ago

When i install occt-import-js,and i use it like this: image then the console report an error like this: image Please give me a help!thanks!

kovacsv commented 2 years ago

I recommend using the library from browser like in this example: https://github.com/kovacsv/occt-import-js/blob/main/examples/browser_step.html

littleBelle commented 2 years ago

image But I need use as a node.js module would you give me some help? thanks a lot!

kovacsv commented 2 years ago

This solution should work on the server side (or when running a script from command line), but you sent some kind of brower report. I think you probably using some bundler to make it work on a website, but without knowing how it works it's hard to tell anything.

kovacsv commented 2 years ago

Close this because of inactivity.