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=048f4d7bdb6813ad3a4c4887c534d7d4ef3183f4;hb=357c231defc0f31fa89e12a71a6ea1c3f7d217c2;hpb=162a83b6ff1d0ebeacf742ab9e838d84b3639c03 diff --git a/lemon-stand.scad.pl b/lemon-stand.scad.pl index 048f4d7..8c1d10f 100755 --- a/lemon-stand.scad.pl +++ b/lemon-stand.scad.pl @@ -7,18 +7,26 @@ use IO::File; use Data::Dumper; use constant tau => pi*2; +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 <error and die $!; STDOUT->flush or die $!; __DATA__ -Torusy(); -Channels(); +module Stand(){ + difference(){ + translate([0,0,torusyup]) + Torusy(); + Channels(); + translate([-200,-200,-50]) + cube([400,400,50]); + } +} +Stand();