From f169bb60ee7f824cf914ccb654e13654aff51151 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 27 Jan 2019 18:41:38 +0000 Subject: [PATCH 1/1] treefoi: more Signed-off-by: Ian Jackson --- treefoil.scad.pl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/treefoil.scad.pl b/treefoil.scad.pl index 82b0c59..160c175 100755 --- a/treefoil.scad.pl +++ b/treefoil.scad.pl @@ -37,7 +37,8 @@ while () { o $_ } __DATA__ -thick = 8; +thick = 10; +edgeu = 20; // calculated @@ -45,9 +46,11 @@ octa_long = thick; octa_short = octa_long / (1 + sqrt(2)); module OctaThing() { - foreach (r = [[0,0,0], [90,0,0], [0,90,0]]) { - rotate(r) - cube([ octa_short,octa_short, octa_long ], center=true); + hull(){ + for (r = [[0,0,0], [90,0,0], [0,90,0]]) { + rotate(r) + cube([ octa_short,octa_short, octa_long ], center=true); + } } } -- 2.30.2