From: Ian Jackson Date: Fri, 20 Oct 2017 19:26:48 +0000 (+0100) Subject: poster-tube-lid: wip parametric integration X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0afcda856208de52fc634ce0c5af334aaefdea56;p=reprap-play.git poster-tube-lid: wip parametric integration --- diff --git a/poster-tube-lid-parametric.scad.pl b/poster-tube-lid-parametric.scad.pl index 353c712..f30aea4 100755 --- a/poster-tube-lid-parametric.scad.pl +++ b/poster-tube-lid-parametric.scad.pl @@ -8,7 +8,7 @@ use Data::Dumper; sub TAU () { pi*2; } -my $thick = 4; +my $thick = 2.5; my $small_dia = 20; my $large_dia = 30; @@ -16,9 +16,9 @@ my $slope_angle = 45 * TAU/360; my $jcurverad = 5; my $tall = 50; -my $lin_len = 10; +my $lin_len = 5; my $lin2_len = 9; -my $sine_len = 8; +my $sine_len = 6; my $sine_height = 6; my $ballend_xr = $thick/2; @@ -202,6 +202,10 @@ sub write_out () { print "],faces=[\n" or die $!; print pv($_),",\n" or die $! foreach @triangles; print "],convexity=10); }\n" or die $!; + print <