- Notifications
You must be signed in to change notification settings - Fork54
A simple CAD package using signed distance functions
License
NotificationsYou must be signed in to change notification settings
deadsy/sdfx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple CAD package written in Go (https://golang.org/)
- Objects are modelled with 2d and 3d signed distance functions (SDFs).
- Objects are defined with Go code.
- Objects are rendered to an STL/3MF file to be viewed and/or 3d printed.
- See the examples.
- Write some Go code to define your own object.
- Build and run the Go code.
- Preview the output in an 3d file viewer (e.g.http://www.meshlab.net/)
- Print the STL/3MF file if you like it enough.
SDF Viewer Go orSDFX-UI allow faster development iterations, replacing steps 3 and 4 until the final build.
- SDFs make CSG easy.
- As a language Golang > OpenSCAD.
- SDFs can easily do filleting and chamfering (hard to do with OpenSCAD).
- SDFs are hackable to try out oddball ideas.