chiark / gitweb /
air-hockey-puck: wip
[reprap-play.git] / treefoil.scad.pl
index f206f2ea669b87a9d36aa96b4ef96c46346889db..ef9ef2614c83c9f25ad4e79c8080e8dc479ee7a5 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# Trying now with:
+# Use:
 #   - support X/Y dist 0.5mm
 
 use strict;
@@ -10,6 +10,12 @@ xyyZZYYXYxxyzYYZXzzxyXXYXXXZxxxyyXXZyyyzXXzz
 zxxYYXXZXzzxyXXYZyyzxZZXZZZYzzzxxZZYxxxyZZyy
 yzzXXZZYZyyzxZZXYxxyzYYZYYYXyyyzzYYXzzzxYYxx
 END
+# simple version (unknotted, [0,1,2]^3):
+# YxxyzYYZXzzxyXXYZyyzxZZX
+#
+# New and less symmetric one that also fits in the 2x2x2 box:
+# YXXyzzYxYXZZxzyxYzyyZXZx
+# (email 8.9.2022)
 
 sub o { print @_ or die $!; }
 
@@ -42,6 +48,7 @@ __DATA__
 
 thick = 6;
 edgeu = 10;
+//edgeu = 15;
 
 // calculated
 
@@ -66,8 +73,7 @@ module TraceEdge(p,q) {
     }
 }
 
-rotate([0,0,90])
-  rotate([0,90,0])
+rotate([0,0,45])
   Trace();