chiark / gitweb /
slic3r-config: v3 had a print problem again
[reprap-play.git] / biscuits.scad
index 7532dcdc115f40f139a6e5679962d0d7e4ac71a4..5f6a42a94236a5d0ca87273de58aabc95b350ce7 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();