2026-11-26 15:47 UTC

Springcraft releases MIT-licensed Rust CAD kernel and B-rep test suite

state: watchingheat: lowuncertainty: mediumrelevance: mediumrobotics-cad open-source cad-kernelsSpringcraftTony

What is this?

Springcraft co-founder Tony announced springrep and brep-conformance as available under MIT licenses. Springrep is a dependency-free, safe-Rust boundary-representation CAD kernel for exact geometry, with operations including booleans, fillets, sweeps, lofts, shells, offsets, STEP export, and measurements. The separate suite contains 3,487 kernel-agnostic cases. Tony says it exposed hundreds of issues during springrep development and that springrep passes the suite; the project site claims the fastest median case time among listed kernels and accuracy to 1e-7 mm. These performance and conformance results are maintainer-published, and the author cautions that this first suite and its adapters may contain errors. No independent verification or adoption evidence is supplied.

Why it matters

An openly licensed CAD kernel plus a reusable, kernel-neutral test suite could give robotics and mechanical CAD developers another way to build and compare exact-geometry tooling. The suite may be useful beyond springrep if other kernel adapters mature. The reported performance advantage is promising, not independently established; this is an early technical release, not evidence of broad industry change.

Current assessment

Springcraft co-founder Tony announced springrep, an MIT-licensed Rust B-rep CAD kernel, and a separate MIT-licensed, kernel-agnostic conformance suite containing 3,487 cases. The project describes exact-geometry operations, STEP export and browser execution through WebAssembly. Tony says springrep passes the suite and that it surfaced hundreds of issues during development; the project claims leading median speed and accuracy to 1e-7 mm. These are maintainer-reported results, not independently verified, and the maintainer invites corrections to the new suite and adapters. A shared suite could help developers compare and test CAD kernels, while springrep offers another option for mechanical and robotics workflows, but no independent runs, external adoption or real-world results are evidenced. Discussion and attention have cooled since the launch; monitor for external kernel runs, revisions, and practical use.

Measured heat

now 0 pts/hpeak 10 pts/hcomments 0/hpeers p10momentum: steady1 platformsage 186h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-18 21:08⭐ origin directly observedShow HN: Robotics needs better CAD, so I wrote a B-rep kernel and 3,487 tests
atomarch on hacker news
—
11-18 21:08amplified on hacker news 👑hn.story.50552140
atomarch
peak 34 · 9 comments · 100% of case engagement
11-18 21:21our radar first saw it · +0.2hdiscovery anchor: hn.story.50552140—
pace: p71 vs 2096 stories at the 168h mark (now 186h old) — ahead of gufo-strix-halo-engine (1.0x), behind claude-code-reasoning-extraction-false-positives (1.0x)

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: Robotics needs better CAD, so I wrote a B-rep kernel and 3,487 tests
Retrieved article excerpt

Open article · Retrieved 2026-11-18T21:22:35.254264+00:00

# springrep

**Exact CAD geometry**  
in pure Rust.

**MIT**open source license

A boundary-representation (B-rep) kernel. Booleans, fillets, sweeps and STEP on exact geometry, accurate to 1e-7 mm, with every result validated.

brep-conformance leaderboard

kernellicensepass at 1e-7 mmspeed

[see the benchmark ↓](https://springcraft-ai.github.io/springrep/#bench)

[github](https://github.com/springcraft-ai/springrep)

### Accurate to 1e-7 mm

Surfaces are analytic or NURBS, never triangles, so volume, area and mass come straight from the exact shape. Every brep-conformance case holds to a ten-millionth of a millimetre.

### Valid, and named

Each operation's output passes a validity check, or you get an error instead of a broken solid. Faces are named for the operation that made them, like `plate.end`, so a changed dimension never loses a fillet or a reference.

### Safe and fast

100% Rust with no dependencies and no unsafe code. The fastest median case time on brep-conformance, and it compiles to WebAssembly to run in the browser.

## Get started01

01**add the crate**

$

copy

02**run it**

$ cargo run
volume 18276.001643 mm³
area 6452.128187 mm²
wrote bracket.step, 8 faces

or
copy prompt for AI agent

```
Set up springrep, an exact B-rep CAD kernel in Rust, and run its first example.

1. If this folder is not a Cargo project, run `cargo new springrep-start` and work in that folder.
2. Run `cargo add springrep`.
3. Write the program below exactly as given. In a new project it replaces src/main.rs. If the
   project already has its own src/main.rs, save it as examples/bracket.rs instead.
4. Run it with `cargo run`, or `cargo run --example bracket` if you saved it as an example. It
   must print:
     volume  18276.001643 mm³
     area    6452.128187 mm²
     wrote bracket.step, 8 faces
   If it prints anything else, stop and tell me what it printed. Don't change the part to make
   the numbers match.
5. Run `cargo doc -p springrep` and read the module docs before writing any new geometry. Then
   ask me what I want to build.

```rust
use springrep::{
    blend::fillet,
    boolean::difference,
    math::{Frame, Vec2, Vec3},
    measure,
    profile::Profile,
    step,
    sweep::extrude,
};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let base = Frame::new(Vec3::ZERO, Vec3::Z, Vec3::X)?;
    let below = Frame::new(Vec3::new(0.0, 0.0, -1.0), Vec3::Z, Vec3::X)?;

    let plate = extrude(&Profile::rect(Vec2::ZERO, 60.0, 40.0), &base, 8.0, "plate")?;
    let bore = extrude(&Profile::circle(Vec2::ZERO, 12.0), &below, 10.0, "bore")?;

    let part = difference(&plate, &bore)?;
    let part = fillet(&part, &[("plate.end", "bore.side")], 1.5, "round")?;

    println!("volume  {:.6} mm³", measure::volume(&part));
    println!("area    {:.6} mm²", measure::area(&part));
    std::fs::write("bracket.step", step::write(&part, "bracket")?)?;
    println!("wrote bracket.step, {} faces", part.face_count());
    Ok(())
}
```

Things to know:
- Every operation returns a Result. Propagate errors with ?; never unwrap a geometry result.
- Faces are named after the feature that made them: plate.end is the top of an extrusion named
  plate, bore.side is the wall of one named bore. Fillets and chamfers pick an edge by the names
  of the two faces either side of it.
- Run springrep::check::check on each new solid and treat any issue it reports as a bug.
- Units are millimetres.
```

src/main.rscopy

```
use springrep::{
    blend::fillet,
    boolean::difference,
    math::{Frame, Vec2, Vec3},
    measure,
    profile::Profile,
    step,
    sweep::extrude,
};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let base = Frame::new(Vec3::ZERO, Vec3::Z, Vec3::X)?;
    let below = Frame::new(Vec3::new(0.0, 0.0, -1.0), Vec3::Z, Vec3::X)?;

    let plate = extrude(&Profile::rect(Vec2::ZERO, 60.0, 40.0), &base, 8.0, "plate")?;
    let bore = extrude(&Profile::circle(Vec2::ZERO, 12.0), &below, 10.0, "bore")?;

    let part = difference(&plate, &bore)?;
    let part = fillet(&part, &[("plate.end", "bore.side")], 1.5, "round")?;

    println!("volume  {:.6} mm³", measure::volume(&part));
    println!("area    {:.6} mm²", measure::area(&part));
    std::fs::write("bracket.step", step::write(&part, "bracket")?)?;
    println!("wrote bracket.step, {} faces", part.face_count());
    Ok(())
}
```

## Best in class02

Results from brep-conformance, an open conformance suite for B-rep kernels. Each case's expected result is derived from closed-form mathematics, not from another kernel's output, and every kernel, springrep included, is held to the same criteria.

leaderboard

| kernel | cases by tightest tolerance passed, mm | pass at 1e-7 mm | pass at 1e-5 mm | speed lower is better |
| --- | --- | --- | --- | --- |

[brep-conformance GitHub](https://github.com/springcraft-ai/brep-conformance)
[full benchmark results](https://springcraft-ai.github.io/brep-conformance/)
atomarch349

Interpretation history

Decision trace