From: Ian Jackson Date: Tue, 31 Jul 2012 22:26:35 +0000 (+0100) Subject: refactor parameters, no functional change X-Git-Tag: firmware-tested-2012-08-04~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=2ebcf7a8600e5e939907b6939e0c4d20ade5b836 refactor parameters, no functional change --- diff --git a/biscuits.scad b/biscuits.scad index c85403a..c230477 100644 --- a/biscuits.scad +++ b/biscuits.scad @@ -1,9 +1,12 @@ +scale=1.0; +rad=30*scale; +hbase=28.4*scale; +voff=10*scale; +height=70*scale; -rad=30; -hbase=28.4; -voff=10; -height=70; +wallheight = 15 +thick=0.8; module flatsolid() { circle(r=rad,$fn=50); @@ -13,7 +16,7 @@ module flatsolid() { module mink() { minkowski() { flatsolid(); - circle(r=0.4); + circle(r=thick/2); } } @@ -24,4 +27,4 @@ module hollow() { } } -linear_extrude(height = 15) hollow(); +linear_extrude(height=wallheight) hollow();