aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 14:57:53 +0200
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2014-06-22 14:57:53 +0200
commit1bfb049f9cdd10e81d7c4b360ad49a6706c715e7 (patch)
treee152734da304acab92ba2d0183e3652aaa4928fc /src
parent80c4cebaccd949c88a07cea49c0f95d4f743846a (diff)
Fudge die: migrated to new layout / lib
Diffstat (limited to 'src')
-rw-r--r--src/fudge.scad31
-rw-r--r--src/polyhedra.scad8
2 files changed, 0 insertions, 39 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);
-}
diff --git a/src/polyhedra.scad b/src/polyhedra.scad
deleted file mode 100644
index 0cee714..0000000
--- a/src/polyhedra.scad
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-module d6(len) {
- intersection() {
- cube(len, center=true);
- sphere(len*0.79);
- }
-}