Replies: 3 comments 9 replies
-
Hey, it's great to have more people checking the project out. Debugging with OpenCascade.js is currently not so easy. However, I will investigate the topic a bit more in detail and will probably post some updates here, soon. Here are some hints:
To sum this up: I think it should be possible to support Exceptions without too much effort. I have to finish a few things and finally release the next major version which would hopefully (among other things) allow an update to CascadeStudio. Distributing debug builds is not something I am planning to do as of right now. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. cascadestudio (via hackaday) was my entrypoint to this space. But I'm keen to build some tooling of my own. Next time I see an issue like this, I might try porting the code to a bare example in opencascadejs, so I can look at debugging in more detail. |
Beta Was this translation helpful? Give feedback.
-
Just another remark about exceptions: I recently made some prototyping with "native" WASM exceptions (which is behind a flag in Chrome since a few days). I experienced a file size increase of 24% for a custom build of the library. Also, chrome crashed during most of my testing (v8 issue is here). When it did not crash, it seems like the performance impact was small. That makes me very hopeful that we will have proper support for exceptions at some point in the not too distant future. However, I think we would either have to wait for other engines (firefox, node, safari) to catch up or distribute OpenCacade.js in different "flavors" (e.g. LTS, dev, multi/single-threaded, Wasm64-enabled at some point in the future, ...?). Not sure, but that's probably more of a long-term problem... |
Beta Was this translation helpful? Give feedback.
-
The opencascade.js project is impressive!
There's quite a few layers involved however, and it's hard to know how to debug issues that arise. An an example, here's a problem I don't understand in a model I built in cascadestudio:
zalo/CascadeStudio#115
This could be a problem in
I've subsequently seen similar issues with union operations on other models, so presumably the errors are not that unusual. Is there anything I can do to get more informative errors messages?
Beta Was this translation helpful? Give feedback.
All reactions