
Thu, 01/02/2014 - 16:26
We have a research project where we need to implement certain CAD functionalities in the browser. We plan to build a chrome web app using three.js for 3d visualization. However, we also need to perform various geometric operations (e.g. loft, intersections, booleans, etc), and we therefore need a modelling kernel.
The plan is to investigate whether we could use OCCT for this, compiled as a Portable Native Client (PNaCl). We would only require a subset of the OCCT library, in particular the 2D and 3D geometric modelling toolkits. Javascript functions in the webapp would invoke the compiled OCCT modelling functions.
https://developers.google.com/native-client/dev/overview
Before embarking on this, is there anything we should know? Has anyone tried something like this before? Any suggestions would be greatly appreciated.
Fri, 01/03/2014 - 11:02
Hi Patrick,
You might look at these:
https://npmjs.org/package/node-occ - MIT License
http://jcae.sourceforge.net/occjava.html
Fri, 01/03/2014 - 12:33
thanks daniel
I will look into it
Wed, 07/08/2020 - 14:05
Hi, I have been starting to work on a project that compiles OpenCascade into Web-Assembly code, that can run in a web browser or in a NodeJS instance on the server. Feel free to check it out:
Thu, 09/09/2021 - 14:34
I just checked it out and I am having heavy performance issues - is it me doing something wrong?
Running on macOS - the tab complains about significant memory requirements.