chiark / gitweb /
treefoi: more
[reprap-play.git] / shelf-label-holder.scad
index 0cea5a9cc32de6c7d043ffb4f1931a7ada4b6979..8353d7e470f9fdc376a54e165210ac490895d303 100644 (file)
@@ -2,12 +2,17 @@
 
 prong_nomdepth = 15;
 prong_curverad = 30;
-prong_thick = 1.0;
+prong_thick = 0.7;
 prong_maxdepth = 18;
 
-nom_shelf = 14.54;
+front_thick = 2.5;
 
-interference = 0.5;
+//nom_shelf = 14.54 + 0.5;
+nom_shelf = 20.315 + 0.5;
+
+interference = 0.75;
+
+length = 60;
 
 // calculated
 
@@ -27,7 +32,7 @@ module ProngElevationUnrotated(){
 }
 
 module Elevation(){
-  intersection(){
+  difference(){
     union(){
       rotate(-interference_angle)
        ProngElevationUnrotated();
@@ -35,9 +40,26 @@ module Elevation(){
        mirror([0,1])
        rotate(-interference_angle)
        ProngElevationUnrotated();
+      translate([-10, -nom_shelf - prong_thick/2])
+       square([10, nom_shelf + prong_thick]);
     }
+    mirror([1,0])
+      translate([ front_thick, -100 ])
+      square([ 50, 200 ]);
   }
 }
 
+module Main(){
+  linear_extrude(height=length)
+    Elevation();
+}
+
+module Print(){
+  rotate([0,-90,0])
+    Main();
+}
+
 //ProngElevationUnrotated();
-Elevation();
+//Elevation();
+Main();
+//Print();