Chili3D
Chili3D is an open-source, browser-based 3D CAD tool for AI-assisted, parametric, and direct modeling. It compiles OpenCascade to WebAssembly and renders with Three.js, sharing one document and undo stack across manual and AI edits.
Visit xiangechen/chili3dOverview
Chili3D is an open-source browser-based 3D CAD application built with TypeScript. It compiles OpenCascade (OCCT) to WebAssembly and renders through Three.js, while AI-assisted, parametric, and direct modeling share one document, viewport, and undo stack.
Key Features
- A built-in AI assistant runs in the browser and reads and writes the same document, selection, feature tree, and undo stack as regular commands.
- Parametric modeling provides an ordered feature list, editable 2D sketches with constraints, document variables, and stable references.
- Direct modeling supports basic shapes, booleans, extrusions, revolutions, sweeps, lofts, shelling, editing operations, and transformations.
- OpenCascade is compiled to WebAssembly for the geometry kernel and rendered through Three.js.
- Documents support transaction-based undo/redo and import/export of STEP, IGES, BREP, and STL.
- Runtime plugins can be loaded with a plugin URL parameter, including a macro editor and a Rete.js visual-programming editor.
Use Cases
- Build and edit parametric parts in the browser without installing desktop CAD software.
- Use the chat assistant to create or modify models, measure geometry, set materials, manage variables, and export results.
- Edit imported geometry directly with push/pull and other direct modeling operations.
- Use the project as a reference for integrating OCCT with WebAssembly or for AI-assisted CAD architecture.
Getting Started
- Use the hosted version by configuring an LLM provider and supplying your own API key in the assistant settings.
- For local development, clone the repository, run npm install, then run npm run dev; the development server launches on port 8080.
- Build the application with npm run build.
Deployment & Requirements
- Running the app requires a modern browser with WebAssembly and WebGL 2 support.
- Local development uses Node.js and npm; CI builds with Node 24.
- Docker deployment is available with docker compose up -d, serving the app on port 8080.
Before You Adopt
- License: AGPL-3.0. Review its terms before using, modifying, or distributing the project.
- The AI assistant depends on a user-supplied LLM provider API key and calls the chosen endpoint directly from the browser.
- The source recommends evaluating the project against your own workflows if you need production CAD today.