chiark / gitweb /
poster-tube-lid: fix/tidy
[reprap-play.git] / poster-tube-lid.scad
index 592f29e598d0339a91bf30fde6de89ac7022835b..9764bc2494a5ad77186b0a7de53c63c870b3e120 100644 (file)
@@ -188,9 +188,10 @@ 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;
 wm_y_max = wm_y_screw + wm_screw_dia/2 + wm_screw_around;
+wm_lhs_y_min = -wm_y_max;
 wm_y_slotc_screw = wm_y_screw + wm_screw_slot/2;
 wm_y_slot1_screw = wm_y_screw + wm_screw_slot;
-wm_y_slot1_max = wm_y_max + wm_screw_slot;
+wm_y_slot1_max = wm_y_max + wm_screw_slot/2;
 wm_z_slot0_screw = wm_main_width + wm_screwdriver_dia/2;
 wm_z_slotc_screw = wm_z_slot0_screw + wm_screw_slot/2;
 wm_z_slot1_screw = wm_z_slot0_screw + wm_screw_slot;
@@ -684,7 +685,7 @@ module WallScrewHoleSlot(){ ////toplevel
 module WallMountMounts(){
   linextr(0, wm_z_max){
     translate([ -sm_outer_rad, 0 ])
-      rectfromto([ 0, -wm_y_max ],
+      rectfromto([ 0,        wm_lhs_y_min ],
                 [ wm_thick, wm_y_slot1_max ]);
   }
 }