From f15339ce287bf37d78b952303000ab6d3ba63664 Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Sun, 25 Jan 2015 18:59:03 -0500 Subject: [PATCH] different corners --- dodecahedron-corner.scad | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/dodecahedron-corner.scad b/dodecahedron-corner.scad index 91d5c57..190360f 100644 --- a/dodecahedron-corner.scad +++ b/dodecahedron-corner.scad @@ -1,25 +1,33 @@ +module slot() +{ + render() difference() + { + cylinder(r=3, h=10); + translate([0,0,3+10]) cube([3.1,3.1,20], center=true); + } +} + module corner() { translate([0,0,2]) rotate([90,0,0]) render() difference() { rotate([0,-10,70]) - render() difference() { - sphere(r=8); // 0 0x972e1c0 - rotate([0,31.717371,18.000074]) translate([0,0,22.451374+2]) cube([3.000000,3.000000,44.902748], center=true); - rotate([0,121.717476,-53.999996]) translate([0,0,22.451399+2]) cube([3.000000,3.000000,44.902798], center=true); - rotate([0,121.717476,90.000000]) translate([0,0,22.451399+2]) cube([3.000000,3.000000,44.902798], center=true); + rotate([0,31.717371,18.000074]) slot(); + rotate([0,121.717476,-53.999996]) slot(); + rotate([0,121.717476,90.000000]) slot(); } translate([0,-12,0]) cube([20,20,20], center=true); } + cylinder(r=5,h=5); } -for(x=[0:2]) +//for(x=[0:2]) { - for(y=[0:1]) + //for(y=[0:1]) { translate([x*18,y*18,0]) corner(); }