OpenCascade.js provides JavaScript language bindings to Open CASCADE Technology framework built as WebAssembly module using Emscripten SDK.
The project allows developers to write OCCT applications using a JavaScript syntax. Applications written that way can run in the browser, as server(less) functions in the cloud or as apps on real devices.
OpenCascade.js is not a fork of OCCT. Instead, all bindings between JavaScript and OCCT are automatically generated by a build system. Therefore, OpenCascade.js will stay in sync with the mother project without manual reconciliation.
OpenCascade.js goal is to expose as much API surface as possible and ship the resulting library in a developer-friendly way via NPM. The file size of the resulting NPM package is therefore quite large and might be too large for many browser-based applications. Therefore, OpenCascade.js comes with a simple way of creating “custom builds”, to expose only the parts of the API required for your specific project, thereby shrinking the library’s size significantly.