From f3eca190f17d0562dee460af370675878905d149 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sat, 7 Dec 2019 20:41:27 +0800 Subject: [PATCH] move file --- examples/{ => soccer_polyhedron}/soccer_polyhedron.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename examples/{ => soccer_polyhedron}/soccer_polyhedron.scad (97%) diff --git a/examples/soccer_polyhedron.scad b/examples/soccer_polyhedron/soccer_polyhedron.scad similarity index 97% rename from examples/soccer_polyhedron.scad rename to examples/soccer_polyhedron/soccer_polyhedron.scad index 15feef3e..fef341b7 100644 --- a/examples/soccer_polyhedron.scad +++ b/examples/soccer_polyhedron/soccer_polyhedron.scad @@ -1,4 +1,4 @@ -module soccer_polyhedron(circumradius, spacing, jigsaw_base = false, part = "ALL") { +module soccer_polyhedron(circumradius, spacing, jigsaw_base = false, half = false) { tau = 1.618034; a = -37.377368; scale_f = 0.201774; @@ -76,7 +76,7 @@ module soccer_polyhedron(circumradius, spacing, jigsaw_base = false, part = "ALL scale(scale_f * circumradius) { half_soccer_polyhedron(); - if(part == "ALL") { + if(!half) { rotate(36) mirror([0, 0, 1]) half_soccer_polyhedron();