From: Ian Jackson Date: Thu, 28 Jan 2016 00:45:06 +0000 (+0000) Subject: lemon-stand: honour LEMONSTAND_COARSE X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c8e67f4bc405d161d7d4c4b79663457f9d301fe4;p=reprap-play.git lemon-stand: honour LEMONSTAND_COARSE --- diff --git a/lemon-stand.scad.pl b/lemon-stand.scad.pl index b924c72..e2ed927 100755 --- a/lemon-stand.scad.pl +++ b/lemon-stand.scad.pl @@ -15,6 +15,11 @@ 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 <