From: Ian Jackson Date: Mon, 28 Aug 2023 21:27:16 +0000 (+0100) Subject: poster-tube-lid: fix/tidy X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=03cd0c7f65e12629bef681893b7459c0e386cc1d;p=reprap-play.git poster-tube-lid: fix/tidy Signed-off-by: Ian Jackson --- diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index 592f29e..9764bc2 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -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 ]); } }