Offline single-file 3D CAD modeler — Manifold WASM CSG / Three.js
NASSCAD is a fully offline, browser-based 3D CAD modeler. No server. No install. No internet. Open the HTML file — it works.
- 100% offline — zero CDN, zero server, zero dependencies to install
- 17 watertight primitives — ArcSphere, Cylind, Cubic, Tore, Gear, Screw, Pipe, RevSolid, Gen and more
- Non-destructive CSG Tree — boolean operations with full arborescent history (200 undo/redo levels, IDB-persistent)
- Progressive CSG (2-pass) — Manifold WASM engine + BSP fallback for maximum robustness
- BVH Raycaster — AABB cache + firstHitOnly for sub-millisecond selection
- GeometryPool — 512MB–2GB custom binary arena, GC mark-and-sweep, DataView global
- Box-select — rectangle NDC multi-selection
- NassScript — built-in scripting interface
- Import / Export — STL, OBJ, 3MF
- Threads — parametric M2 to M20 (UNC + metric)
- Snap — 0.1 mm precision
- X-Ray mode, Rotation Gizmo 3-axis, Sphere resolution slider
| Component | Details |
|---|---|
| Renderer | Three.js r128 |
| CSG Engine | Manifold WASM (Worker Pool ×N async) + BSP fallback |
| Geometry Pool | 512MB–2GB binary arena, GC mark-and-sweep |
| Undo / Redo | 200 levels — TypedArrays structured clone, IDB-persistent |
| CSG History | Arborescent _csgTree Map — serialized in IndexedDB |
| Raycaster | BVH (AABB cache per mesh, firstHitOnly) |
| AABB Cache | Box3 world-space per mesh — rebuilt on position/scale change |
| Selection | Box-select rectangle NDC |
| Library | Author | License |
|---|---|---|
three.js |
Mr.doob & community | MIT |
manifold.js + manifold_worker.js |
Emmett Lalish et al. | Apache 2.0 |
helvetiker_regular/bold.js |
MAGENTA Ltd / MgOpen Modata | MgOpen License |
optimer_regular/bold.js |
MAGENTA Ltd / MgOpen Cosmética | MgOpen License |
gentilis_regular/bold.js |
J. Victor Gaultney / SIL International | SIL OFL 1.1 |
NUTS_AND_BOLTS.js |
NassLab | CC BY-NC 4.0 |
nasscad_logs.js |
NassLab | CC BY-NC 4.0 |
No installation required.
# Clone the repository
git clone https://github.com/Nx-Nass/Nasscad_4.2.7.git
# Open in your browser
open NASSCAD_V4_2_7_AIO.htm # macOS
start NASSCAD_V4_2_7_AIO.htm # Windows
xdg-open NASSCAD_V4_2_7_AIO.htm # LinuxOr download the ZIP and open open NASSCAD_V4_2_7_AIO.htm directly in Chrome (best performance), Firefox, or Edge.
⚠️ For full WASM support, open via a local server or a browser that allows local file access (Chrome with--allow-file-access-from-files, or VS Code Live Server).
| Role | |
|---|---|
| Architect & Lead Developer | Nasser — NassLab, Marseille, France |
| AI Developer | Claude Sonnet 4.6 — Anthropic |
© 2026 NassLab — Nasser, France
Distributed under the Creative Commons BY-NC 4.0 license:
- Personal and non-commercial use — free, redistribution allowed with attribution
- Commercial use — written agreement required from NassLab
No implied warranty. The author cannot be held liable for any damage resulting from the use of this software.
NASSCAD — co-developed with Claude Sonnet 4.6 · Marseille, 2026