openscad

Software for creating solid 3D CAD objects. More information: https://openscad.org.

openscad path/to/button.scad

openscad -o path/to/button.stl path/to/button.scad

openscad -o path/to/button.png --colorscheme Sunset path/to/button.scad