# CADAM

> Text and images in, parametric CAD out

- Category: Multimodal Generation / 3D & CAD Generation
- Language: TypeScript
- Licence: GPL-3.0
- Repository: https://github.com/Adam-CAD/CADAM
- Website: https://adam.new/cadam
- Canonical page: https://ai-tldr.dev/tools/cadam/
- Updated: 2026-06-17

## In short

CADAM is an open-source web application that turns a written description — or an image — into a 3D CAD model. It sits in the 3D & CAD Generation category of the Multimodal Generation tools and is open-source, written in TypeScript and licensed GPL-3.0. To get started: clone and install.

## Overview

CADAM is an open-source web application that turns a written description — or an image — into a 3D CAD model. The trick is that it does not generate a mesh directly: an LLM writes OpenSCAD code, which is compiled in the browser through OpenSCAD's WebAssembly build and rendered live with Three.js. Because the intermediate representation is parametric source, the result stays editable rather than being a frozen blob of triangles.

That parametric output is what the UI is built around. CADAM extracts the parameters out of the generated model and exposes them as sliders, so you can change a hole diameter or a wall thickness and watch the preview update instead of re-prompting. It also handles text geometry (with Geist font support) and can pull in the common OpenSCAD libraries — BOSL, BOSL2 and MCAD.

It is the open-source counterpart to Adam, a Y Combinator company, and runs as a React 19 / TypeScript app on TanStack Start and Vite with Supabase for the backend and edge functions. Models can be exported as STL for printing, SCAD to keep working in OpenSCAD, or DXF for 2D. The project is GPL-3.0.

## What it does

- Generates parametric OpenSCAD source from a text prompt or a reference image
- Automatic parameter extraction into interactive sliders, so dimensions are edited rather than re-prompted
- In-browser OpenSCAD compilation via WebAssembly with a live Three.js preview
- Exports to STL, SCAD and DXF
- Text geometry with Geist font support and the BOSL, BOSL2 and MCAD libraries

## Getting started

Try the hosted demo at adam.new/cadam, or run it locally — the local stack needs Node.js, the Supabase CLI and API keys for the model providers.

1. Clone and install

   Standard npm install at the repository root.

```bash
git clone https://github.com/Adam-CAD/CADAM.git
cd CADAM
npm install
```

2. Start Supabase and the edge functions

   The backend runs locally through the Supabase CLI.

```bash
npx supabase start
npx supabase functions serve --no-verify-jwt
```

3. Configure keys and run the app

   The frontend `.env.local` needs `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`; the backend `.env.local` needs the provider keys (`ANTHROPIC_API_KEY` and the other model/service keys the functions use) plus `SUPABASE_SERVICE_ROLE_KEY`.

```bash
npm run dev
```

## When to use it

- Draft a printable part from a description and tune its dimensions with sliders before exporting STL
- Keep AI-generated geometry parametric and editable in OpenSCAD instead of receiving a fixed mesh
- Turn a reference photo of a bracket or enclosure into a starting CAD file
- Self-host a text-to-CAD workflow when parts should not go through a hosted service

## Version history

- 2026-06-17 v0.3.0: Adam open-sourced CADAM as a browser-based text-to-CAD app: Claude writes OpenSCAD from a text or image prompt, and models export as STL, SCAD and DXF under GPL-3.0.
