From c8e67f4bc405d161d7d4c4b79663457f9d301fe4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 28 Jan 2016 00:45:06 +0000 Subject: [PATCH 1/1] lemon-stand: honour LEMONSTAND_COARSE --- lemon-stand.scad.pl | 5 +++++ 1 file changed, 5 insertions(+) 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 <