← All projects
Project record1 mention
Originally shared on Hacker News

SDF-based open source CAD program for 3D printing

This open source CAD program for 3D printing is built on Signed Distance Functions (SDFs) rather than boundary representation. SDFs enable O(1) pattern operations via domain repetition, object deformation via domain deformation, easy procedural surface texturing, and easy CSG operations. To support selecting faces, the SDF evaluation propagates surface ids alongside distances, so evaluation returns the id of the nearest surface, not just the distance to it. Planned next steps are reliable fillets and chamfers between arbitrary surfaces (using a 'masked clones' blending approach) and standard CAD features like constraint solving in a 2D sketch editor.

Last shared
01 / The problem

What it addresses

In an SDF representation, faces, edges, and vertices are emergent rather than explicit, making selection-based workflows hard; reliably providing fillets and chamfers between arbitrary surfaces remains an unsolved challenge.

02 / Source history

Shared over time

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

  1. SDF-based open source CAD program for 3D printing

    This open source CAD program for 3D printing is built on Signed Distance Functions (SDFs) rather than boundary representation. SDFs enable O(1) pattern operations via domain repetition, object deformation via domain deformation, easy procedural surface texturing, and easy CSG operations. To support selecting faces, the SDF evaluation propagates surface ids alongside distances, so evaluation returns the id of the nearest surface, not just the distance to it. Planned next steps are reliable fillets and chamfers between arbitrary surfaces (using a 'masked clones' blending approach) and standard CAD features like constraint solving in a 2D sketch editor.

    Problem: In an SDF representation, faces, edges, and vertices are emergent rather than explicit, making selection-based workflows hard; reliably providing fillets and chamfers between arbitrary surfaces remains an unsolved challenge.

    Posted by @jstanley · Original source ↗

    Source text · @jstanley · · Source ↗

    I'm working on a new open source CAD program for 3d printing based on Signed Distance Functions.