X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=lemon-stand.scad.pl;h=8c1d10f54338529a21998c8656a3db2ba2fdaa25;hp=e4b32ae1928cfb8874e52ded2ed8a06903d1ac7d;hb=5c8e2f521b6c0a908fe8e03a51f001f5b36496e6;hpb=5e23e69b331496b565a584995d768c331f0176ab diff --git a/lemon-stand.scad.pl b/lemon-stand.scad.pl index e4b32ae..8c1d10f 100755 --- a/lemon-stand.scad.pl +++ b/lemon-stand.scad.pl @@ -7,14 +7,20 @@ use IO::File; use Data::Dumper; use constant tau => pi*2; -my $ellipse = 25; -my $circle = 7; -my $channel = 5; -my $xscale = 35/25; -my $N = 30; #180; # around ellipse -my $M = 20; #80; # around each circle +my $ellipse = 25 / 2; +my $circle = 7 / 2; +my $channelh = 3; +my $channelw = 4; +my $xscale = 35 / 25; +my $N = 180; # around ellipse +my $M = 80; # around each circle my @channeldistprops = (0, 1/3, 2/3); +my $NMdiv = $ENV{'LEMONSTAND_COARSE'} || 1; + +$M /= $NMdiv; +$N /= $NMdiv; + print <