2026-11-26 15:40 UTC

Chili3D adds AI-assisted modeling to browser CAD

state: seedheat: mediumuncertainty: mediumrelevance: mediumbrowser-cad ai-assisted-designXiang Chen

What is this?

Chili3D is an open-source, browser-based CAD project created by developer Xiang Chen. In a November 25, 2026 Show HN post, Chen says it has added natural-language AI modeling, editable parametric feature trees with downstream rebuilds, and direct push/pull modeling. Its GitHub documentation says the AI uses a user-provided API key to work with the same document and undo stack as manual tools; it describes the app as built with TypeScript, OpenCascade compiled to WebAssembly, and Three.js. The official-site search result identifies the release as version 0.8.0 and says it adds parametric modeling and an assistant to the earlier direct-geometry capabilities. Evidence here is mainly the developer’s post and project documentation; independent performance or adoption evidence is not supplied.

Why it matters

The notable idea is not just text-to-3D generation: AI-created geometry remains editable in a CAD feature tree, while users can also switch to direct manipulation in the same workspace. That could make AI more useful in practical design workflows and lower the barrier to trying CAD in a browser. It is an early open-source project, however, and the supplied evidence does not establish reliability on demanding engineering work or broad adoption.

Current assessment

Newly reported: Chili3D’s developer says the browser CAD application now combines AI-assisted natural-language modeling, parametric feature-tree editing and direct push/pull operations. The project documentation says users provide their own API key and the assistant can inspect and modify the current document; its parametric path creates features that remain editable, while direct modeling edits geometry without feature history. This integration could let users move between generated starting points and conventional CAD refinement without leaving the document, and browser delivery may ease access compared with installing desktop CAD. These are project-described capabilities, not independently validated results. The web results point to version 0.8.0 as the largest release so far, but no release date or independent benchmark is provided; the Show HN post is dated November 25, 2026. No evidence here establishes commercial-grade reliability, user adoption, or that browser performance matches native CAD in demanding workloads. The project is open source, while its README also describes a commercial Pro edition for extended direct editing; licensing and feature boundaries may matter to users.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p21momentum: steady1 platformsage 49h
points/hour across evidence Β· reading as of 2026-11-27 02:23:58.509736+11:00 Β· deterministic, not a model opinion

How the heat travelled

11-24 14:49⭐ origin directly observedShow HN: Chili3D – Open-source browser CAD with parametric/push-pull modeling
xiange on hacker news
β€”
11-24 14:49amplified on hacker news πŸ‘‘hn.story.50629040
xiange
peak 3 Β· 0 comments Β· 98% of case engagement
11-24 15:24our radar first saw it Β· +0.6hdiscovery anchor: hn.story.50629040β€”
pace: p15 vs 1989 stories at the 48h mark (now 49h old) β€” behind agent-adaptive-llm-serving-paper (0.5x)

Evidence (1) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: Chili3D – Open-source browser CAD with parametric/push-pull modeling
Retrieved article excerpt

Open article Β· Retrieved 2026-11-24T15:26:17.452564+00:00

# Chili3D

An open-source, browser-based 3D CAD for AI-assisted, parametric and direct modeling.

[Chili3D in the browser: a parametric part in the 3D viewport, with its feature list and properties panel beside it](https://github.com/xiangechen/chili3d/blob/main/screenshots/screenshot.png)

**Try it now:** [**chili3d.com**](https://chili3d.com) β€” official site; a [Cloudflare mirror](https://chili3d.pages.dev) is available as a backup.

## Overview

[Chili3D](https://chili3d.com) is an [open-source](https://github.com/xiangechen/chili3d) 3D CAD (Computer-Aided Design) application built with TypeScript. It compiles OpenCascade (OCCT) to WebAssembly and renders through Three.js, bringing near-native modeling performance to the browser. AI, parametric and direct modeling share one document, viewport and undo stack, so you can move between them mid-design β€” a shape built by hand can be edited by the assistant, and an AI-built body is still a feature tree you can change.

## Features

### AI-Native Modeling

The built-in assistant runs entirely in the browser and calls the LLM endpoint directly with your own API key β€” there is no relay server in between. AI-native here means it is not a side panel bolted on: it reads and writes the same document, selection and feature tree as the commands, and every change it makes lands in the same undo stack.

[The AI assistant building a wrought-iron table from a single sentence in Chili3D](https://github.com/xiangechen/chili3d/blob/main/screenshots/ai-modeling.gif)

*One sentence builds the table. When a sweep call fails, the assistant diagnoses the error and corrects it on its own, then retextures the top.*

- **What It Can Do**: build a part from a description, reshape an existing model (dimensions, fillets, holes, booleans), measure lengths, areas and volumes, query face/curve/surface types, organize the tree, set properties and materials, manage document variables, adjust the view and export the result β€” all through chat
- **Document Awareness**: reads the document tree, the geometry and the current selection, and captures viewport screenshots, so a request like "make this flange thicker" resolves against the right nodes
- **Two Modeling Paths**: `run_program` applies modeling operations to produce geometry (one call is one undo step); `run_parametric` builds a parametric feature tree the user can keep editing afterwards
- **Reference Images**: paste or upload a picture to model from; the image is read before any geometry-changing tool is allowed to run
- **Providers**: Anthropic API, OpenAI Completions API and OpenAI Responses API, with a configurable base URL, model, reasoning effort and context window; the API key is kept only for the session and can be handed to the browser's password manager
- **On-Demand Skills**: guidance for the app, the modeling API, shape/curve/surface queries, modeling recipes, error recovery and parametric modeling are loaded only when the model asks for them, keeping the prompt small
- **Conversations**: saved locally, with automatic context budgeting that compacts old turns into a condensed journal instead of losing the thread
- **Local Bridge**: `?bridge=<port>` connects the page to a local process over a WebSocket (outbound, default port 17373), and that process β€” the separate `chili3d-mcp` server β€” calls the same tool registry the chat panel uses, so an external agent can read and edit the open document; without the parameter, none of it is loaded

### Parametric Modeling

Parametric bodies are feature-list models in the Onshape/Fusion style: a body stores no baked shape, only an ordered list of features, and the list is replayed top to bottom on every rebuild. Editing any upstream feature β€” a dimension, a sketch line, a suppressed step β€” re-evaluates everything downstream of it.

[Editing a dimension in a fully constrained sketch and watching the feature chain rebuild in Chili3D](https://github.com/xiangechen/chili3d/blob/main/screenshots/parametric-modeling.gif)

*Edit one dimension in a fully constrained sketch, and every downstream feature rebuilds from it.*

- **Feature List**: ordered, editable, reorder-aware features with per-feature suppression, rename and warnings; one body evaluates as a chain, so a change never leaves stale geometry behind
- **Features**: primitive, extrude (blind, symmetric, up-to-face/vertex), revolve, loft, sweep, helix, hole (with standard sizes), rib, draft, shell, thicken, fillet, chamfer, boolean, mirror, pattern, split, sew, offset face and transform
- **2D Sketches**: lines, arcs, circles, ellipses, conics, splines and text, with geometric and dimensional constraints, construction geometry, auto-constraints, projected edges and external references; profiles stay solved by the embedded garlic constraint solver
- **Stable References**: downstream features refer to faces, edges, vertices and sketch profiles by tracked identity, so those references still resolve after an upstream change; a reference that cannot be resolved can be re-selected without rebuilding the feature
- **Variables**: document variables drive feature dimensions and can suppress a feature when they resolve to zero
- **Interactive Preview**: press-pull on faces, drag handles for extrusion depth, draft angles and fillet/chamfer radii, with the result previewed before it is committed

### Direct Modeling

Direct modeling works on the geometry itself: a command creates a shape node or replaces the shape of an existing one, with no feature history behind it. It is the fastest path for one-off shapes and for editing imported geometry.

[Push-pulling the faces of an imported interior model in Chili3D with the Edit-mode handle](https://github.com/xiangechen/chili3d/blob/main/screenshots/direct-modeling.gif)

*An imported interior model edited face by face: pick a face, drag the Push/Pull handle, and the geometry changes in place β€” no feature history required.*

- **Basic Shapes**: boxes, spheres, cylinders, cones, pyramids, and more
- **Curves and Wireframes**: lines, arcs, circles, ellipses, BΓ©zier curves, polygons, helices, pipes and text
- **Advanced Operations**:
  - Boolean operations (union, difference, intersection)
  - Extrusion, revolution, sweeping, lofting and Gordon surfaces
  - Thick solid, shell and surface offset
  - Shape conversion, sectioning and curve projection
  - Shape checking and repair
- **Editing**: chamfer, fillet, trim, break, extend, split, sew, simplify, feature removal, sub-shape copy/removal, explode
- **Interactive Input**: pick faces, edges and snap points in the viewport, with a live preview and an option panel while the command is running
- **Transformation**: move, rotate, mirror, linear and circular arrays, copy

The commercial **Chili3D Pro** edition extends this into a full direct-editing session: double-click a shape to edit its B-rep in place β€” push/pull faces, round or chamfer edges with a drag handle, split with drawn curves, and hide or lock the rest of the scene while you work.

### Other Features

- **Snapping and Tracking**: snap to points, edges, faces and the workplane; track axes and detected feature points, with visual guides for both
- **Measurement**: measure lengths and angles, and total up length, area and volume across a selection
- **Documents**: create, open and save documents with a full transaction-based undo/redo stack; import and export STEP, IGES, BREP and STL
- **Interface**: Office-style contextual ribbon, hierarchical assembly tree, dynamic workplanes, turntable/trackball camera with position recall, and a command panel docked in the viewport
- **Plugins**: load plugins at runtime with `?plugin=<url>`; the `plugins/` directory has a macro editor and a Rete.js visual-programming editor
- **Localization**: built-in i18n for English, Chinese (zh-cn) and Portuguese (Brazil); further locales welcome

## Architecture

Chili3D is an npm workspace monorepo under `packages/`. `core` defines the interfaces; every other package implements or wires them:

```
web ──> builder ──> app ──> core + wasm
                  ──> parametric ──> core
                  ──> i18n ──> core
                  ──> three ──> core
                  ──> storage ──> core
                  ──> ui ──> core + element
                        └─> ai ──> core + element (+ parametric, loaded on demand)

element ──> core
```

- **`core`** β€” Abstract interfaces (`IShape`, `IShapeFactory`), math (`XYZ`, `Matrix4`, `Plane`), document model, reactive data (`Observable`, `Binding`, `PubSub`), `Result<T,E>`, transactions/undo/redo, commands, serialization, plugin system, service container, UI abstractions
- **`element`** β€” Custom reactive DOM elements (radio groups, expanders, data converters)
- **`wasm`** β€” Concrete `ShapeFactory` calling into OCCT via Emscripten bindings
- **`parametric`** β€” Feature-list bodies and the 2D sketch module: ordered feature data + handlers replayed on rebuild, the garlic constraint solver wrapper, tracked sub-shape references (`EdgeRef`, `ProfileRef`, vertex refs), body timelines, reselect sessions and the parametric command set
- **`three`** β€” Three.js viewport, camera controller, visual objects, highlighter, outline pass, gizmo, mesh export
- **`i18n`** β€” Locale data (en, zh-cn, pt-br)
- **`storage`** β€” IndexedDB persistence layer
- **`ai`** β€” In-app assistant: browser-direct LLM providers, tool registry, the `run_program` capability engine and on-demand skills; the parametric module is pulled in lazily on first `run_parametric`. Also the `?bridge=<port>` client (`src/bridge/`) that hands the same tool registry to a local process over a WebSocket
- **`ui`** β€” Application chrome: main window, ribbon/toolbar, property panels, project tree, dialogs, toast, status bar, chat panel host
- **`app`** β€” Concrete `Application`, direct-modeling body node classes, command implementations, `CommandService`, `HotkeyService`
- **`builder`** β€” `AppBuilder` with a fluent `.useIndexedDB().useWasmOcc().useParametric().useThree().useUI().build()` chain and default ribbon layout
- **`web`** β€” Entry point: calls `AppBuilder`, shows loading screen, parses URL parameters

## Technology Stack

- **Frontend**: TypeScript, Three.js (0.184)
- **3D Kernel**: OpenCascade 8.0.1 (OCCT) compiled to WebAssembly via Emscripten
- **Parametric Solver**: garlic, vendored and compiled to WebAssembly for 2D sketch constraints
- **AI Assistant**: Anthropic / OpenAI SDKs, called directly from the browser
- **Bundler**: Rspack 2
- **Linting & Formatting**: Biome (TypeScript), clang-format (C++)
- **Testing**: Rstest + Happy-DOM
- **Package Manager**: npm workspaces

## Getting Started

### Prerequisites

- Node.js and npm β€” CI builds with Node 24, so that is the safest version to use
- To run the app: a modern browser with WebAssembly and WebGL 2 support

### Installation

1. Clone the repository

   ```
   git clone https://github.com/xiangechen/chili3d.git
   cd chili3d
   ```
2. Install dependencies

   ```
   npm install
   ```

### Development

Start the development server:

```
npm run dev   # Launches at http://localhost:8080
```

### Building

Build the application:

```
npm run build
```

### WASM Build (Optional)

The prebuilt WASM module is included in the repository. If you want to build it from source:

1. Set up WebAssembly dependencies (one-time setup):

   ```
   npm run setup:wasm
   ```
2. Build the WebAssembly module:

   ```
   npm run build:wasm
   ```

### Testing & Linting

```
npm run test             # Run all tests (Rstest + Happy-DOM)
npm run testc            # Tests with coverage
npm run test:scenarios   # Drive the real app in headless Chrome (needs `npm run dev` running)
npm run check            # Biome lint + auto-fix
npm run format           # Biome + clang-format across all files
```

### Docker

You can also deploy with Docker:

```
docker compose up -d   # Builds and serves the app at http://localhost:8080
```

## Code Style

- **TypeScript**: Biome for linting an
xiange30

Interpretation history

Decision trace