JSCAD Parametric Modeling
Code parametric 3D models in JavaScript (JSCAD), tune them in a form-based parameter panel and export print-ready STL. Free, no upload, no sign-in — runs in your browser.
Processing and data safety
Section titled “Processing and data safety”This tool runs entirely in your browser — your files are never uploaded to a server.
Input and output
Section titled “Input and output”- Formats: STL
- Flow: JavaScript (JSCAD) code → print-ready STL
How to use
Section titled “How to use”- Write or edit JSCAD code in the editor (define main() returning geometry); press Ctrl+Enter (⌘+Enter) to build.
- Optionally define getParameterDefinitions() — a parameter form (number/int/checkbox/text/select) appears and rebuilds on change, no code edits needed.
- Click “Build preview” — the code runs locally and shows an interactive 3D preview.
Key details and limits
Section titled “Key details and limits”- Runs in the browser; heavy scripts can be slow.
- Only STL export.
- Only @jscad/modeling is injected — other require() calls are rejected.
Common use cases
Section titled “Common use cases”- Generate a cube with a hole from JSCAD code → download STL