Open-source parametric CAD for the AI era.
- Modeling — Primitives, booleans, fillets, chamfers, shell
- Sketching — 2D constraints, extrude, revolve, sweep, loft
- Assembly — Parts, instances, joints, forward kinematics
- Simulation — Physics with Rapier3D, gym-style RL interface
- Import/Export — STEP import, STL/GLB/STEP/DXF export
- Rendering — Direct BRep ray tracing + tessellated mode
- Cloud — Supabase sync with Google/GitHub auth
Visit vcad.io — no install required.
cargo install vcad-cli
vcad export input.vcad output.stl
vcad import-step input.step output.vcadThe MCP server lets AI agents create and manipulate CAD models:
npm install -g @vcad/mcpTools: create_cad_document, export_cad, inspect_cad, gym_step, gym_reset
use vcad_kernel::Solid;
// Create a box with a hole
let solid = Solid::cube(100.0, 60.0, 20.0);
let hole = Solid::cylinder(10.0, 25.0, 32);
let result = solid - hole;
// Export to mesh
let mesh = result.to_mesh(32);See crates/vcad-kernel for the full API.
vcad/
├── crates/ # Rust BRep kernel (~35K LOC)
│ ├── vcad-kernel/ # Unified API
│ ├── vcad-kernel-topo/ # Half-edge topology
│ ├── vcad-kernel-booleans/# Boolean operations
│ └── ... # 20+ modular crates
├── packages/ # TypeScript
│ ├── app/ # React + Three.js web app
│ ├── mcp/ # MCP server for AI agents
│ └── ...
└── supabase/ # Database migrations
# Rust
cargo test --workspace
cargo clippy --workspace -- -D warnings
# TypeScript
npm ci
npm run dev -w @vcad/app # Run web app locally
