From 1309a4fb417de639f882dbe194d919de514911bc Mon Sep 17 00:00:00 2001 From: Octopus Octopus Date: Thu, 2 Jun 2022 08:58:30 -0500 Subject: [PATCH] simplify main.go --- hjklbox/main.go | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/hjklbox/main.go b/hjklbox/main.go index 14379ae..7ca59eb 100644 --- a/hjklbox/main.go +++ b/hjklbox/main.go @@ -6,12 +6,8 @@ import ( ) func main() { - plate := plate() - top := top() - bottom := bottom() - walls := walls() - render.ToSTL(walls, 400, "walls.stl", dc.NewDualContouringDefault()) - render.ToSTL(bottom, 400, "bottom.stl", dc.NewDualContouringDefault()) - render.ToSTL(top, 400, "top.stl", dc.NewDualContouringDefault()) - render.ToSTL(plate, 400, "plate.stl", dc.NewDualContouringDefault()) + render.ToSTL(walls(), 400, "walls.stl", dc.NewDualContouringDefault()) + render.ToSTL(bottom(), 400, "bottom.stl", dc.NewDualContouringDefault()) + render.ToSTL(top(), 400, "top.stl", dc.NewDualContouringDefault()) + render.ToSTL(plate(), 400, "plate.stl", dc.NewDualContouringDefault()) }