CascadeStudio
A Full Live-Scripted CAD Kernel in the Browser
Install / Use
/learn @zalo/CascadeStudioREADME
<p align="center">
<a href="https://zalo.github.io/CascadeStudio/?code=bZDLCsIwEEX3%2FYqhqwhRUjWCiCv9AnXhAxehHWkgtNKmoH%2FvTGsflGYRSOaek8w49JDmDk8msVUJezg7m2AhwuYilLBSIGHJ21rNdgED5TvFAoEXAfVB6LYYf53NSHHn4uF%2FEP0bLFMSfFHhiLgxccq98SgeSkZSPSVsKdspR8B1CFB8EgguhclKV2fmWkuguubg0b5e9PMsRhFwK01XEh6dvhfdBs7nbGyNSNlaL%2Fjxq6MID6aMTYI8wA1VF5FmbIJaDqmzrxKbhzTsAfUD&gui=VY4xC8IwFIT%2Fy5tjSDMIzeIg6KRIEBdxeCQPG0gTaRIcxP9uRAztTffd3XAvMHF8xEAhH3EkUGAwGbR0cfQEBgdKg6YESvCukcZwr9Or4KJj8sbg7HwGtZLiZ%2F%2F9N5Ci9jvnPeUNqDwVYrBFM1Cj%2FRRLsCePYZ4520CjdaVekD3vF1q%2FPw%3D%3D"><img src="./packages/cascade-studio/icon/CascadeStudioBanner-1257x519.png" href></a>
</p>
<p align="center">
<a href="https://github.com/zalo/CascadeStudio/deployments/activity_log?environment=github-pages">
<img src="https://img.shields.io/github/deployments/zalo/CascadeStudio/github-pages?label=Github%20Pages%20Deployment" title="Github Pages Deployment"></a>
<a href="https://github.com/zalo/CascadeStudio/deployments/activity_log?environment=Production">
<img src="https://img.shields.io/github/deployments/zalo/CascadeStudio/Production?label=Vercel%20Deployment" title="Vercel Deployment"></a>
<a href="https://github.com/zalo/CascadeStudio/commits/master">
<img src="https://img.shields.io/github/last-commit/zalo/CascadeStudio" title="Last Commit Date"></a>
<a href="https://github.com/zalo/CascadeStudio/blob/master/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-brightgreen" title="License: MIT"></a>
</p>
A Full Live-Scripted CAD Kernel and IDE in the Browser.
Use code to create 3D Models with features ranging from simple primitives + CSG to complex revolves, sweeps, and fillets. Cascade Studio exposes the full power of the OpenCascade kernel (OCCT 8.0), while providing a concise standard library for simple operations.
Write in JavaScript or OpenSCAD, visualize in real-time, and export to .step, .stl, or .obj. Copy the URL to share your model with anyone.
Features
- Powerful Standard Library for primitives, booleans, sweeps, lofts, fillets, and more
- Sketch API with plane parameter (
new Sketch([x,y], 'XZ')) for drawing in XY, XZ, or YZ planes - Selector API for querying edges and faces:
Edges(shape).parallel([0,0,1]).max([0,0,1]).indices() - Measurement Functions:
Volume(),SurfaceArea(),CenterOfMass() - Dual Editor Modes: JavaScript and OpenSCAD
- IntelliSense autocomplete with full TypeScript definitions and JSDoc
- Modeling History Timeline to scrub through build steps in the 3D viewport
- Agent API (
window.CascadeAPI) for programmatic control via Playwright or developer tooling - Reusable CAD Engine —
cascade-corenpm package for embedding CAD modeling in any web app - Access to the full OpenCASCADE kernel via the
oc.namespace - Automatic caching acceleration of standard library operations
.STEP/.IGES/.STLimport and.STEP/.STL/.OBJexport- URL serialization of code for easy sharing
- Save/Load projects to preserve code, layout, and imported files
- Integrated GUI system (sliders, checkboxes, buttons) via Tweakpane
- Responsive layout with mobile support
- Installable for offline use as a Progressive Web App
- Free and open source under the MIT License
