Running code in workerthread
-
Amazing library, V2 works really well, testing modelling part a lot on https://bitbybit.dev website. Mainly just a question if running V2 JSCAD algorithms, especially boolean operations in worker threads is possible and if so, what approach could be taken to do it? Sorry if question should have been placed to a different part of the forum.
-
@z3dev yeah, I went 'custom' way before I found JSCAD, I began by exposing VerbNurbs library first and implemented BabylonJS rendering but JSCAD adds so much to the project that I'm super enthusiastic about it. Vue part sounds very interesting. While I'm not very familiar with Vue, I suppose by reactive you mean Rxjs kind of reactive? Will have to analyse your project in more detail, thanks!
-
@BarbourSmith thanks! Will check that out, this should be a great improvement on UX part and hopefully have a few performance benefits. Could you share your experience on performance part maybe?
-
@bitbybit thanks! V2 JSCAD is definitely improving now.
I think several people are working with V2 libraries to create some 'custom' websites.
I'm also working on some reactive components for VUE. Hopefully, this will help people get moving faster.
https://github.com/z3dev/vue-components
There's just one issue... the 'core' package needs to be wrapped properly. I have some changes coming soon, but let us know if you hit some issues.
-
I've been doing it with no issues at all. The npm packages make it easy using this library and webpack: https://github.com/josdejong/workerpool
Edit: Here's an example project: https://github.com/alzatin/JSCAD-worker