OpenCascade.js

Package

Consume @taucad/opencascade.js from npm — render, export, integrate.

Install @taucad/opencascade.js@beta, call init(), build shapes with the full OCCT surface, export STEP or GLB, and integrate into your bundler of choice.

What's in V3

  • ESM-only single-file build — one wasm, one init() Promise, no CommonJS fallback.
  • Suffix-free symbol generation — gp_Pnt (not gp_Pnt_3); overloads dispatched in C++.
  • using syntax for every disposable shape — RBV containers integrate Symbol.dispose.
  • Re-architected exception channel — catch JS errors instead of opaque WebAssembly.Exception.

See CHANGELOG.md in the repo for the full release notes.

On this page