chiark / gitweb /
treefoil: printing angle
[reprap-play.git] / treefoil.scad.pl
index 160c175ddda7c8e0a712f75a955b37c62d12be0e..28e840e01dfc77a510c64c6ada8a7312ce7994a4 100755 (executable)
@@ -37,8 +37,8 @@ while (<DATA>) { o $_ }
 
 __DATA__
 
-thick = 10;
-edgeu = 20;
+thick = 7;
+edgeu = 10;
 
 // calculated
 
@@ -54,6 +54,16 @@ module OctaThing() {
     }
 }
 
-OctaThing();
+module TraceEdge(p,q) {
+    hull(){
+        for (x=[p,q]) {
+            translate(x * edgeu)
+                OctaThing();
+        }
+    }
+}
+
+rotate([-45,0,0])
+  Trace();