X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=treefoil.scad.pl;h=9a84a782d27bc69b3c98cf41710ab74e688851d7;hb=HEAD;hp=fb46feae727a6f45eb83b9ab23f69175006e49aa;hpb=2f529a7b4e661253c036d4fdbb0aa335f435a026;p=reprap-play.git 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();