← All projects
Project record1 mention
Originally shared on Hacker News

Popkern

Free, open-source parametric BRep CAD kernel written in Rust, released under AGPL-3.0. Fills corners where fillets of different radii meet with certified G2 (curvature-continuous) blend patches. Models are Rhai scripts organized like database migrations for git-friendly history, with booleans, fillets/chamfers, sweeps, revolves, lofts, shelling, constrained sketches, STEP import/export, and MCP for agent usage; usable in a browser IDE (popkern live). The code is written by AI agents working from published CAGD research under the author's direction.

Last shared
01 / The problem

What it addresses

Most CAD kernels leave a visible curvature break where fillets of different radii meet at a corner.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Popkern

    Free, open-source parametric BRep CAD kernel written in Rust, released under AGPL-3.0. Fills corners where fillets of different radii meet with certified G2 (curvature-continuous) blend patches. Models are Rhai scripts organized like database migrations for git-friendly history, with booleans, fillets/chamfers, sweeps, revolves, lofts, shelling, constrained sketches, STEP import/export, and MCP for agent usage; usable in a browser IDE (popkern live). The code is written by AI agents working from published CAGD research under the author's direction.

    Problem: Most CAD kernels leave a visible curvature break where fillets of different radii meet at a corner.

    Posted by @geedy · Original source ↗

    Story title · @geedy · · Source ↗

    Show HN: Popkern – open-source CAD kernel with G2 corner blends, browser IDE

    Submitted URL · @geedy · · Source ↗

    https://popkern.dev/

    Source text · @geedy · · Source ↗

    popkern is a free, open-source parametric BRep CAD kernel in Rust

    Source text · @geedy · · Source ↗

    You can try it in your browser here, no install: https://popkern.dev/live/

    Source text · @geedy · · Source ↗

    where several fillets of different radii meet at a corner, most kernels leave a curvature break you can see in reflections

    Source text · @geedy · · Source ↗

    popkern fills those corners with a certified G2 (curvature-continuous) patch, so zebra stripes flow through unbroken

    Source text · @geedy · · Source ↗

    Parts are short Rhai scripts. Bigger parts are folders of numbered "migration" scripts, like database migrations, so models are git-friendly and you can scrub through their history.

    Source text · @geedy · · Source ↗

    All supported: booleans, fillets/chamfers, sweeps, revolves, lofts, shelling, constrained sketches, STEP in/out, and MCP for direct agent usage.

    Source text · @geedy · · Source ↗

    popkern is currently released under AGPL-3.0, with an exception so your scripts, models, and STEP files remain entirely yours.

    Source text · @geedy · · Source ↗

    the code is written by AI agents working from published CAGD research, under my direction

    Source text · @geedy · · Source ↗

    The model viewer in popkern live allows you to see into the model via a section view.

    Source text · @geedy · · Source ↗

    When an operation can't produce a valid solid, it refuses and tells you why instead of returning something broken.