From 105fe39dadaecc93c58202919691d640890d643f Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Mon, 26 Jan 2015 15:25:23 -0500 Subject: [PATCH] corners for another platonic solid --- icosahedron-corners.scad | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 icosahedron-corners.scad diff --git a/icosahedron-corners.scad b/icosahedron-corners.scad new file mode 100644 index 0000000..e472096 --- /dev/null +++ b/icosahedron-corners.scad @@ -0,0 +1,34 @@ +thick=7.800000; +module connector(len) { + render() difference() { + cylinder(r=thick/2+2, h=2*thick); + translate([0,0,thick/2+2]) cylinder(r=thick/2, h=2*thick); + } + //%translate([0,0,0]) cylinder(r=thick/2, h=len*0.48); +} + +module corner() +{ +render() difference() +{ +translate([0,0,2]) rotate([0,180,0]) { + sphere(r=5.900000); // 11 0x7fd178c05120 + rotate([0,121.717476,-90.000000]) connector(100.000000); + rotate([0,121.717476,-162.000000]) connector(100.000000); + rotate([0,121.717476,54.000000]) connector(100.000000); + rotate([0,121.717476,126.000000]) connector(100.000000); + rotate([0,121.717476,-17.999998]) connector(100.000000); +} + +translate([0,0,-5]) cube([20,20,10], center=true); +} +cylinder(r=8,h=12); +} + +for(x=[0:3]) +{ + for(y=[0:2]) + { + translate([x*35,y*35,0]) corner(); + } +}