Just included more webIDL interfaces and created simplified demo of the opencascade bottle example, operations like fuse, fillet, extrude are also included.
About the file size, with more webIDL interface, there is no significant increase of the .js file size, last time around 10 classes are exposed, the file size is 74.9MB and this time around 50 classes are exposed, the file size is 75MB.
On top of that, without emscripten assertion support, the .js file size decreases to 40MB.
The bottle example is simplified because of two problems.
Another issue is the Handle in oce. I wonder if I am right about this: the handle is like a smart pointer, and in oce it is defined as
#define Handle(ClassName) Handle_##ClassName
I am quite stuck about these problems, really appreciate any advice/ correction.
Thank you very much!