Description
sdfx is a small CAD package for Go that models objects with two-dimensional and three-dimensional signed distance functions (SDFs). Objects are defined in Go code and rendered to STL or 3MF files, which you can view in a 3D file viewer or send to a 3D printer. The README argues that signed distance functions make constructive solid geometry easy, that filleting and chamfering are simple to express (something it says is hard in OpenSCAD), and that Go is a more capable language than OpenSCAD for building models. The workflow is to read the examples, write Go code for your own object, build and run it, and preview the output in a viewer such as MeshLab. An SDF viewer, either the Go viewer or the sdfx-ui tool, speeds up iteration by covering the build and preview steps until the final file is ready. The repository includes a gallery of example objects and a development roadmap. It suits people who are comfortable writing code and want parametric 3D parts they can print, and the author says it is easy to hack for unusual ideas.…
Highlights
- Shapes defined in Go code with signed distance functions
- Renders to STL and 3MF files for 3D printing
- Fillets and chamfers are simple to express
- SDF viewer for faster iteration
- Gallery of example objects
Ratings & Reviews
No ratings yet
Be the first to rate Sdfx.
People also visit
Sdfx FAQ
What is sdfx?
A Go package for designing 3D models in code. You describe shapes with signed distance functions and render them to STL or 3MF files.
Who is it for?
People who are comfortable programming and want parametric 3D models written in Go rather than in a graphical CAD tool. The README says it is easy to hack for experiments.
How do I try it?
Read the examples in the repository, write Go code for your own object, build and run it, then preview the output in a 3D viewer such as MeshLab.
Is there a faster way to iterate?
Yes. The SDF viewer for Go or the sdfx-ui tool lets you preview changes without the full build and export steps until you are ready for the final file.
Is it open source?
The code is public on GitHub at deadsy/sdfx, and the project keeps a roadmap for planned work.
What are the best Sdfx alternatives?
Popular alternatives to Sdfx include layerling, OpenSCAD and Libfive. See all Sdfx alternatives





