🧩 Chili3D: open-source CAD in the browser with parametric and push/pull modelling
In brief
- 🧩 Chili3D is an open-source 3D CAD that runs in the browser, built on OpenCascade compiled to WebAssembly.
- 📐 It offers parametric feature-list bodies with sketches and constraints, plus direct push/pull editing.
- 🤖 An optional assistant models by chat and calls an LLM directly with the user's own API key.
- 📜 Licence: AGPL-3.0; a commercial Pro edition and commercial licensing exist.
🧩 Chili3D is a 3D CAD application by developer xiangechen that runs in a browser at [chili3d.com](https://chili3d.com) and is open source on [GitHub](https://github.com/xiangechen/chili3d). According to the project page, it is written in TypeScript, compiles the OpenCascade kernel to WebAssembly and renders through Three.js. It supports parametric modelling with a feature tree and 2D sketches, direct modelling such as push/pull on faces, and an optional AI assistant that works on the same document and undo stack. 📐 It imports and exports STEP, IGES, BREP and STL and is licensed under AGPL-3.0.
🛠️ **Two ways to model.** The parametric path stores a body as an ordered list of features that is replayed on every rebuild, in the style of Onshape or Fusion, so editing an upstream dimension or sketch line updates everything downstream. The listed features include extrude, revolve, loft, sweep, helix, hole, rib, draft, shell, fillet, chamfer, boolean, mirror and pattern. Sketches support lines, arcs, circles, ellipses, splines and text with geometric and dimensional constraints, solved by an embedded constraint solver. Faces, edges and sketch profiles are referenced by tracked identity so references survive upstream changes. Document variables can drive dimensions. Direct modelling creates or replaces shapes without feature history: basic solids, curves, booleans, extrusion, revolution, sweeping, lofting, trimming, filleting and array commands, with snapping and measurement of lengths, angles, areas and volumes.
🤖 **The assistant.** The built-in chat assistant runs in the browser and calls an LLM endpoint (Anthropic API, OpenAI Completions or Responses API, with configurable base URL and model) directly with the user's own API key; the project says there is no relay server and that the key is kept only for the session. It can build parts from a description, change dimensions, fillets, holes and booleans, measure, organise the tree and export, and can work from a pasted reference image. Every change it makes lands in the same undo stack, and a body it builds parametrically stays an editable feature tree. An optional local bridge (the separate chili3d-mcp server) lets an external agent use the same tools.
🏃 **Running it.** Besides the hosted site, the repository can be run locally with npm (the project recommends Node 24) and `npm run dev`, which serves the app at localhost:8080, or with Docker Compose. A prebuilt WASM module is included. The interface is available in English, Chinese and Brazilian Portuguese, and plugins can be loaded with a URL parameter; the repository has a macro editor and a Rete.js visual-programming plugin.
⚖️ **Licence and caveats.** The code is under the GNU Affero General Public License v3.0, the C++ WASM module under LGPL-3.0, and commercial licensing is available by e-mail. A commercial Chili3D Pro edition adds in-place B-rep editing with drag handles. The README notes that the project uses Microsoft Clarity for analytics, which can be disabled by removing the script when self-hosting, and the software comes with no warranty.