-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Maintenance Status? #273
Comments
I wonder too, |
Another way forward to allow us to use the most recent version of OCCT is to design a web worker in C++ that your web app talks to using emscripten and OpenCascade (C++ version) and only embind/expose your message processing function for your web worker instead of exposing the entire opencascade API. The message processing function is just a function that takes a string and returns a string. The final wasm build from emscripten would then only contain the wasm code for the opencascade methods (and their dependencies) you touched in your message processing functions for your web worker. (Smaller wasm file.) |
Here a sample for reference: https://dev.opencascade.org/doc/overview/html/occt_samples_webgl.html You'd just need to be happy with writing your Web Worker in C++ is all. |
This is what I mean: https://github.com/clinuxrulz/psf-toolbox-occt-webworker/blob/main/main.cpp Rather than make your web worker in JavaScript/Typescript and embind/ffi a hundred thousand functions. The file size went from a 50mb wasm down to a 30mb wasm. The wasm file will auto-shrink to only include what functions |
@clinuxrulz this looks interesting... |
In honesty I went back to just using opencascade.js , because debugging your code that uses opencascade is way easier. opencascade.js suits my needs for now. But the "write your web worker in C++, and use regular opencascade" technique does work. I tested it, and it works well. |
Does anyone know the maintenance status of this project. Is it time to investigate a fork since there hasn't been a published release in a year, and it is beginning to lag significantly behind OCCT.
The text was updated successfully, but these errors were encountered: