From 03cd0c7f65e12629bef681893b7459c0e386cc1d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 28 Aug 2023 22:27:16 +0100 Subject: [PATCH] poster-tube-lid: fix/tidy Signed-off-by: Ian Jackson --- poster-tube-lid.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ]); } } -- 2.30.2