chiark / gitweb /
flyscreen-handle: separate out test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Aug 2016 16:13:59 +0000 (17:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Aug 2016 16:13:59 +0000 (17:13 +0100)
flyscreen-handle.scad

index 52baafacebe76aaf700534fca1df2d035ec0e909..c927ec5c1bae8e803708fe1916856e99f3cbbd92 100644 (file)
@@ -34,7 +34,7 @@ strap_above = 0.1;
 strap_th = 2.5;
 strap_below = 3;
 
-width = 5;
+test_width = 5;
 
 // calculated
 
@@ -177,19 +177,25 @@ module Demo(){
 }
 
 module LeverTop(){
-  linear_extrude(height=width, convexity=100) LeverSectTop();
+  LeverSectTop();
 }
 
 module LeverBot(inadj=false){
-  linear_extrude(height=width, convexity=100) LeverSectBot(inadj);
+  linear_extrude(height=test_width, convexity=100) LeverSectBot(inadj);
+}
+
+module SomeLever() {
+  // SomeLever(){ LeverBot(inadj); LeverSectBot(); }
 }
 
 module Test(){
-  translate([0,2,0]) LeverTop();
-  LeverBot();
-  translate([0,-opening_height - 2,0]) LeverBot(true);
+  linear_extrude(height=test_width, convexity=100) {
+    translate([0,2,0]) LeverSectTop();
+    LeverSectBot();
+    translate([0,-opening_height - 2,0]) LeverSectBot(true);
+  }
 }
 
 //LeverSectBot(true);
-Demo();
-//Test();
+//Demo();
+Test();