arcade/hjklbox/main.go

22 lines
490 B
Go

package main
import (
"github.com/deadsy/sdfx/render"
"github.com/deadsy/sdfx/sdf"
)
func main() {
hjkl := hjkl()
buttons := buttons()
buttonMounts := buttonMounts()
plate := plate()
top := top()
bottom := bottom()
render.RenderDXF(hjkl, 300, "hjkl.dxf")
render.RenderDXF(sdf.Difference2D(buttons, buttonMounts), 300, "buttons.dxf")
render.RenderSTLSlow(bottom, 1200, "bottom.stl")
render.RenderSTLSlow(plate, 1200, "plate.stl")
render.RenderSTLSlow(top, 1200, "top.stl")
}