chiark / gitweb /
air-hockey-puck: wip
[reprap-play.git] / poster-tube-lid.scad
index d8ca09cbf3b9ecfd710c4331f52b22a3ce13cb6a..000dec775fabe10c90f7c9b31de28cc1cbcfc998 100644 (file)
@@ -95,23 +95,24 @@ sm_closure_cnr = 3.0;
 
 wm_thick = 5;
 wm_screw_dia = 4.5; // Timco wood screw 40mm, use brown plug
+wm_screwdriver_dia = 6.3 + 1.5;
 wm_screw_around = 5.0;
 wm_screw_slot = 3.5;
 wm_screw_head = 8.0;
 
 wmb_screw_dia = 5;
 wmb_screw_head_dia = 8.7 + 0.5;
-wmb_screw_around_x = 4; // XXX
-wmb_screw_around_z = 6; // XXX
+wmb_screw_around_x = 4;
+wmb_screw_around_z = 6;
 wmb_screw_depth_min = 10;
-web_screw_len = 15 + 1;
-wmb_nut_across = 8; // XXX
-wmb_nut_around_min = 2; // XXX
+web_screw_len = 16 + 0.5;
+wmb_nut_across = 7.82 + 0.35;
+wmb_nut_around_min = 2;
 wmb_nut_behind_min = 5;
-wmb_nut_th = 4; // XXX
+wmb_nut_th = 3.84 + 0.75;
 wmb_mount_wall = 4.5;
-wmb_mount_gap_xy = 0.5;
-wmb_mount_gap_z = 0.5;
+wmb_mount_gap_xy = 0.1;
+wmb_mount_gap_z = 0.2;
 wmb_mount_y_width = 10;
 wmb_bottom_gap = 35; // includes allowance for padding, etc.
 wmb_bottom_th = 7;
@@ -183,7 +184,6 @@ sm_inner_rad = (sm_inner_circum + sm_bolt_tighten_allow/2) / TAU;
 sm_outer_rad = sm_inner_rad + sm_main_thick;
 
 wm_main_width = sm_main_width;
-wm_screwdriver_dia = wm_screw_head;
 wm_y_min = sqrt( pow(sm_inner_rad, 2) -
                 pow(sm_inner_rad - (wm_thick - sm_main_thick), 2) );
 wm_y_screw = wm_y_min + wm_screw_around + wm_screw_dia/2;
@@ -761,6 +761,24 @@ module WallMountForBase(){ ////toplevel
   }
 }
 
+module WallMountForBaseFixingsTest(){ ////toplevel
+  intersection(){
+    WallMountForBase();
+    linextr(-100,100)
+      rectfromto([ -sm_outer_rad-10, -wm_y_min ],
+                [ wmb_x_outer + 1, -100 ]);
+  }
+}
+
+module WallMountBaseFixingsTest(){ ////toplevel
+  intersection(){
+    WallMountBase();
+    linextr(-2,100)
+      rectfromto([ -sm_outer_rad-10, -wm_y_min ],
+                [ wmbb_x_outer + 1, -100 ]);
+  }
+}
+
 module WallMountBasePillarsPlan(){
   for (my = [0,1]) {
     mirror([0, my]) {