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=fb46feae727a6f45eb83b9ab23f69175006e49aa;hb=HEAD;hpb=152c2a709a0efd46543b26234eee5f03d58cfe9e diff --git a/treefoil.scad.pl b/treefoil.scad.pl index fb46fea..ef9ef26 100755 --- a/treefoil.scad.pl +++ b/treefoil.scad.pl @@ -1,5 +1,8 @@ #!/usr/bin/perl -w +# Use: +# - support X/Y dist 0.5mm + use strict; our $shape = <<'END'; @@ -7,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 $!; } @@ -37,8 +46,9 @@ while () { o $_ } __DATA__ -thick = 7; +thick = 6; edgeu = 10; +//edgeu = 15; // calculated @@ -63,6 +73,7 @@ module TraceEdge(p,q) { } } -Trace(); +rotate([0,0,45]) + Trace();