X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=treefoil.scad.pl;h=9a84a782d27bc69b3c98cf41710ab74e688851d7;hp=f206f2ea669b87a9d36aa96b4ef96c46346889db;hb=HEAD;hpb=a94c8779dce8833baa5bbf36e96503bb03980a80 diff --git a/treefoil.scad.pl b/treefoil.scad.pl index f206f2e..ef9ef26 100755 --- a/treefoil.scad.pl +++ b/treefoil.scad.pl @@ -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();