/CascadeStudio

A Full Live-Scripted CAD Kernel in the Browser

Primary LanguageJavaScriptMIT LicenseMIT

Language grade: JavaScript

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, while providing a concise standard library for simple operations.

Save your completed models to .step, .stl. or .obj, or copy the url and share it with the community.

Features

  • A Powerful Standard Library to Simplify Model Construction
  • Intellisense Autocomplete/AutoSuggest and Documentation
  • Access to the Full OpenCASCADE Kernel (via the oc. namespace)
  • Automatic Caching Acceleration of Standard Library Operations
  • .STEP/.IGES/.STL Import - .STEP/.STL/.OBJ Export
  • URL Serialization of code for easy sharing and ownership
  • Save/Load Projects to preserve Code, Layout, and Imported Files
  • Integrated GUI System for Simple Customization
  • Easily Installable for Offline-use as a Progressive Web App
  • Free and Open Source under the MIT License

Examples

Model code is saved to the URL upon every successful evaluation, so you can copy and paste that link to others to view your model. Github Discussions is out of beta! So feel free to share your creations and examples here.

Contributing

Cascade Studio is entirely static assets and vanilla javascript, so running it locally is as simple as running a server from the root directory (such as the VS Code Live Server, Python live-server, or Node live-server ).

Pull Requests to this repo are automatically hosted to Vercel instances, so other users will be able to test and benefit from your modifications as soon as the PR is submitted.

Credits

Cascade Studio uses:

Cascade Studio is maintained by Johnathon Selstad @zalo