Architecture
Radical transparency. These deep-dives explain how vcad works under the hood, the design decisions we made, and the tradeoffs involved.
System Overview
Crate map, package map, data flow from IR to viewport.
10 min readBRep Kernel
Half-edge topology, slotmap arenas, surface types, exact predicates.
15 min readBoolean Pipeline
AABB filter, surface-surface intersection, face classification, sewing.
15 min readConstraint Solver
Levenberg-Marquardt, residual functions, convergence criteria.
12 min readWASM Pipeline
Rust to WASM to JavaScript bridge, memory management.
12 min readIR Format Design
DAG-based IR, serialization, compact format, versioning.
10 min readTessellation
BRep to triangle mesh, per-surface strategies, quality tradeoffs.
10 min readRay Tracing
Analytic ray-surface intersection, BVH/SAH, trimmed surfaces, WebGPU.
15 min readPhysics Engine
Rapier3D integration, BRep-to-physics, joint mapping, gym interface.
12 min readExport Formats
STL, GLB, STEP AP214, DXF, URDF. Tradeoffs and limitations.
8 min readContributing Guide
Dev environment, tests, conventions, PR process.
8 min readChangelog
Entry format, when to add entries, schema validation.
5 min read