diff options
Diffstat (limited to 'src/fudge.scad')
-rw-r--r-- | src/fudge.scad | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/fudge.scad b/src/fudge.scad deleted file mode 100644 index 52e0798..0000000 --- a/src/fudge.scad +++ /dev/null @@ -1,31 +0,0 @@ -use <polyhedra.scad>; - -len=16; - -module plus(len) { - union() { - hull() { - translate([-len*0.3,0,0]) sphere(len/10); - translate([len*0.3,0,0]) sphere(len/10); - } - hull() { - translate([0,-len*0.3,0]) sphere(len/10); - translate([0,len*0.3,0]) sphere(len/10); - } - } -} - -module minus(len) { - hull() { - translate([0,-len*0.3,0]) sphere(len/10); - translate([0,len*0.3,0]) sphere(len/10); - } -} - -difference() { - d6(len); - translate([0,len/2,0]) rotate([90,0,0]) plus(len); - translate([0,-len/2,0]) rotate([90,0,0]) plus(len); - translate([len/2,0,0]) rotate([0,90,0]) minus(len); - translate([-len/2,0,0]) rotate([0,90,0]) minus(len); -} |