chiark / gitweb /
crossbar-computer-led-mount: adjust tower wall cross section
[reprap-play.git] / biscuits.scad
index 7532dcd..5f6a42a 100644 (file)
@@ -1,19 +1,22 @@
-$fn=200;
 
-rad=30;
-hbase=28.4;
-voff=10;
-height=70;
+scale=0.75;
+rad=30*scale;
+hbase=28.4*scale;
+voff=10*scale;
+height=70*scale;
+
+wallheight = 15;
+wallthick=0.8;
 
 module flatsolid() {
-       circle(r=rad);
+       circle(r=rad,$fn=50);
        polygon(points=[[-hbase,voff],[hbase,voff],[0,height]]);
 }
 
 module mink() {
        minkowski() {
                flatsolid();
-               circle(r=0.8);
+               circle(r=wallthick/2);
        }
 }   
 
@@ -24,4 +27,4 @@ module hollow() {
        }
 }
 
-linear_extrude(height = 15) hollow();
+linear_extrude(height=wallheight) hollow();