Source
Parametric B-rep kernel

The source of geometric truth.

A from-scratch parametric B-rep CAD kernel in Rust — exact, deterministic, and built from proven primitives, not wrapped around a foreign kernel. Model in the browser on WebAssembly, or run it native.

bootconnecting…
part-001.sxz
extrudefillet 2mmboolean ∪

The two linchpins

Everything that gives Source its edge rests on two subsystems.

The compute cache, git-for-CAD version control, cross-machine reuse, real-time collaboration — all of it depends on getting these two right. So we built them first.

Linchpin 01

Deterministic regeneration

Rebuild a part on x86-64, ARM, or in the browser on WebAssembly and get byte-identical topology and names — within a declared determinism profile. A shared, content-addressed cache is only trustworthy if every stage recomputes to the same result, so we engineered it to.

Linchpin 02

Persistent naming

A fillet on “the top edge of the boss” survives an upstream edit that rebuilds an entirely new B-rep with new internal IDs — and re-attaches to the right edge. Stable identity through split and merge, never by geometric coincidence. It’s the substrate parametric history stands on.

Capabilities

A kernel you can trust to the last bit.

Exact by construction

Every orientation and classification decision routes through exact, adaptive-precision predicates — no floating-point drift, no silent failures near degeneracy. The exactness is in the geometry, not the arithmetic.

Own-code, zero wrappers

Not a shell around OpenCASCADE, Parasolid, or ACIS. Zero third-party geometry dependencies in the core — every line built from proven, published primitives and enforced by crate boundaries.

One kernel, everywhere

A single Rust kernel compiled to WebAssembly for the browser and run native on the server. Model client-side with optimistic apply; resolve heavy, million-part assemblies server-side.

Model as a program

Your part is a feature DAG written through one typed command API — the same write-path for humans, Playwright, and AI agents — serialized to a canonical, round-trippable file. No bespoke DSL.

Git for CAD

A content-addressed Merkle-DAG memoizes every computation and is the version-control object store. One substrate powers the cache and branch / diff / merge on real parts.

AI-native by design

Always-on validation plus deterministic regeneration give an agent ground truth to converge toward valid geometry instead of hallucinated CAD — over the very same typed API humans use.

Standing on giants

Own-code — from proven, published primitives.

This is not wrapping OpenCASCADE. It’s refusing to reinvent public-domain math while owning every line of the architecture that matters.

Shewchuk predicates

Adaptive-precision exact orientation & in-circle tests — the robustness substrate.

The NURBS Book

Curve & surface evaluation, knot operations, trimming — geometry by the book.

Generalized winding numbers

Robust inside/outside classification for booleans on real geometry.

Euler operators

A proven-complete, minimal set — B-rep topology only ever changes through them.

Roadmap

Parity is a multi-year arc. We ship value every phase.

Each phase ends at a demoable, tested milestone — never “six months of plumbing, then maybe.” Naming before the feature tree hardens; curved booleans are the long pole.

Phase 0Shipped

Foundations & spikes

Rust workspace, WASM↔native determinism, own-code exact predicates, and the validity + golden-test harness.

Phase 1Shipped

B-rep core, NURBS & sketches

B-rep topology + Euler operators, NURBS curves & surfaces, the own-code 2D constraint solver, and adaptive tessellation to the viewport.

Phase 2In progress

First solids + own-code booleans

Extrude / revolve, own-code polyhedral booleans producing named B-rep, and STL + glTF export.

Phase 3In progress

Persistent naming & history

The parametric promise: edit an upstream feature and every downstream fillet, chamfer and cut re-resolves to the intended entity.

Phase 4Planned

NURBS booleans

Own-code surface–surface intersection and curved B-rep booleans — the multi-year frontier.

Phase 5+Planned

Assemblies & million-part scale

Assembly instance graph, out-of-core streaming, and STEP interop toward real-world fidelity.

The source of geometric truth

Own the kernel. Model in the browser.

Exact, deterministic, own-code parametric CAD — running on WebAssembly today.