chiark / gitweb /
was successful but rotate to use less support
[reprap-play.git] / treefoil.scad.pl
index 160c175ddda7c8e0a712f75a955b37c62d12be0e..f206f2ea669b87a9d36aa96b4ef96c46346889db 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/perl -w
 
+# Trying now with:
+#   - support X/Y dist 0.5mm
+
 use strict;
 
 our $shape = <<'END';
@@ -37,8 +40,8 @@ while (<DATA>) { o $_ }
 
 __DATA__
 
-thick = 10;
-edgeu = 20;
+thick = 6;
+edgeu = 10;
 
 // calculated
 
@@ -54,6 +57,17 @@ module OctaThing() {
     }
 }
 
-OctaThing();
+module TraceEdge(p,q) {
+    hull(){
+        for (x=[p,q]) {
+            translate(x * edgeu)
+                OctaThing();
+        }
+    }
+}
+
+rotate([0,0,90])
+  rotate([0,90,0])
+  Trace();