You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble loading the full OC wasm. I've changed my worker like:
// import opencascadeWasm from 'replicad-opencascadejs/src/replicad_single.wasm?url';importopencascadeWasmfrom'opencascade.js/dist/opencascade.full.wasm?url';
Really, my end goal isn't necessarily to have the full wasm library, but just to get better errors than:
Which I thought the error message is so basic due to the note on the opencascadejs site, but I don't see the sDISABLE_EXCEPTION_CATCHING flag in the build config. Am I just doing something wrong for getting the errors?
DISABLING EXCEPTIONS GREATLY REDUCES FILE SIZE
For many applications, exception support is not required in OpenCascade.js and can be disabled. For a full build, this reduces the file size by ~45% and greatly improves performance (even if exceptions are never thrown). Pass -sDISABLE_EXCEPTION_CATCHING=1 in the emccFlags of your custom build to disable exceptions. Check out this custom build definition for an example.
The text was updated successfully, but these errors were encountered:
I'm having trouble loading the full OC wasm. I've changed my worker like:
and now I get the error:
Really, my end goal isn't necessarily to have the full wasm library, but just to get better errors than:
Which I thought the error message is so basic due to the note on the opencascadejs site, but I don't see the
sDISABLE_EXCEPTION_CATCHING
flag in the build config. Am I just doing something wrong for getting the errors?The text was updated successfully, but these errors were encountered: