deadsy / sdfx

A simple CAD package using signed distance functions
MIT License
534 stars 52 forks source link
3d 3d-models 3d-printing 3mf cad dxf go golang signed-distance-field signed-distance-functions stl svg

Go Report Card GoDoc

sdfx

A simple CAD package written in Go (https://golang.org/)

How To

  1. See the examples.
  2. Write some Go code to define your own object.
  3. Build and run the Go code.
  4. Preview the output in an 3d file viewer (e.g. http://www.meshlab.net/)
  5. Print the STL/3MF file if you like it enough.

SDF Viewer Go or SDFX-UI allow faster development iterations, replacing steps 3 and 4 until the final build.

Why?

Development

Gallery

wheel core_box cylinder_head msquare axoloti text gyroid icosahedron cc16a cc16b cc18b cc18c gear camshaft geneva nutsandbolts extrude1 extrude2 bezier1 bezier2 voronoi