chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sewing-table: jig: thinner, even
[reprap-play.git]
/
lemon-stand.scad.pl
diff --git
a/lemon-stand.scad.pl
b/lemon-stand.scad.pl
index e2ed9275c71fa3352cf2c1c0b9f21a0700a2873b..8c1d10f54338529a21998c8656a3db2ba2fdaa25 100755
(executable)
--- a/
lemon-stand.scad.pl
+++ b/
lemon-stand.scad.pl
@@
-9,7
+9,8
@@
use constant tau => pi*2;
my $ellipse = 25 / 2;
my $circle = 7 / 2;
my $ellipse = 25 / 2;
my $circle = 7 / 2;
-my $channel = 5 / 2;
+my $channelh = 3;
+my $channelw = 4;
my $xscale = 35 / 25;
my $N = 180; # around ellipse
my $M = 80; # around each circle
my $xscale = 35 / 25;
my $N = 180; # around ellipse
my $M = 80; # around each circle
@@
-136,8
+137,9
@@
sub channels(){
print " rotate([0,0,$angle*360/",tau,"])\n";
print " rotate([0,90,0])\n";
print " translate([0,0, -2*$circle])\n";
print " rotate([0,0,$angle*360/",tau,"])\n";
print " rotate([0,90,0])\n";
print " translate([0,0, -2*$circle])\n";
+ print " scale([1, $channelw/$channelh/2, 1])\n";
print " rotate([0,0,360/8/2])\n";
print " rotate([0,0,360/8/2])\n";
- print " cylinder(r=$channel, h=4*$circle, \$fn=8);\n";
+ print " cylinder(r=$channel
h
, h=4*$circle, \$fn=8);\n";
}
print "}\n";
}
}
print "}\n";
}