OPENCASCADE

Shape Script

This app offers a Javascript interface to the powerful OpenCascade geometry kernel (via a WASM module). It allows you to script complex shapes using either the high-level APIs provided or OpenCascade's own lower-level methods. It pairs a modern code editing environment (Monaco) with an advanced model viewer that lets you select and interact with the faces, edges and vertices of the resulting shapes. Once created, you can interrogate shapes or export them in a wide range of geometry file formats. The unique benefit of using OpenCascade is that faces are defined using continuous functions rather than discrete facets, so it accurately retains surface outlines and edges over multiple operations.