Repository avatar
Other Tools
v0.6.2
active

classcad

io.github.awv-informatik/classcad

Build and verify CAD parts and assemblies with the ClassCAD engine, locally, no server needed.

Documentation

Frontispiece and title page. Left: an engineering drawing of a flanged bushing — section A–A, the view from the left and the plan in first-angle projection, dimensioned, with a title block. Right: classcad·ai, or, the Art of Modelling with Agents — wherein a machine is taught to write parametric CAD models as programs, to draw what it has made, and to prove the work in numbers and in pixels. In five parts: the skill, the script, the renderer, the MCP server, the in-app agent. MMXXVI.

The repository as a figurative system: classcad·ai branches into knowledge (the skill, discovery), execution (the script, the engine), proof (the renderer, the numbers) and hosts (the MCP server, the in-app agent).

Plate III, The Skill — @classcad/skill
packages/skill · @classcad/skill
Plate III, the skill: the ClassCAD API — 264 methods, each documented and verified against a live engine — set by domain as a table of contents (part 76, assembly 63, sketch 50, common 22, curve 21, solid 21, drawing2d 11), the six recipes that combine them, and one BM25-ranked search that knows CAD synonyms: a hole is a bore, a round a fillet.

Plate IV, The Script — @classcad/script
packages/script · @classcad/script
Plate IV, the script: a script in monospace that creates a plate, adds an 80 by 50 by 10 box, computes its mass properties and returns { part: 4, volume: 40000 }.

Plate V, The Renderer — @classcad/renderer
packages/renderer · @classcad/renderer
Plate V, the renderer: the six views of the flanged bushing unfolded in first-angle projection, and the ISO projection symbols for first-angle (Europe) and third-angle (the Americas).

Plate VI, The Envoy — @classcad/mcp and @buerli.io/ai
packages/mcp · @classcad/mcp
packages/buerli-ai · @buerli.io/ai
packages/relay · the share relay: a session on somebody's machine, joined from anywhere
Plate VI, the envoy — two envoys make the part. The MCP server takes requests from any agent host (Claude Code, Codex, OpenCode, Claude Desktop, VS Code, Cursor) through one daemon per machine: on its own, on a worker or its own WASM, it makes the part itself — a pointing hand leads to the flanged bushing, engraved in iso — or it joins any buerli app by invite, or the app joins it. The in-app assistant lives inside the app: asked to make a flanged bushing, it answers, and the part appears in the app’s window.

NPM
@classcad/mcp
Install Command
npm install @classcad/mcp