chiark / gitweb /
refactor parameters, no functional change
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 31 Jul 2012 22:26:35 +0000 (23:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 31 Jul 2012 22:26:35 +0000 (23:26 +0100)
biscuits.scad

index c85403a..c230477 100644 (file)
@@ -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();