From a1b6e8d8238f34f46824c74a3945f8dfa4bf0139 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 28 Aug 2023 11:18:44 +0100 Subject: [PATCH] poster-tube-lid: WallMount wip Signed-off-by: Ian Jackson --- poster-tube-lid.scad | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index 4af0813..67d620a 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -87,9 +87,10 @@ sm_bolt_y_over = 0.5; sm_closure_cnr = 3.0; wm_thick = 5; -wm_screw_dia = 5; -wm_screw_around = 5; -wm_csink = 2.5; +wm_screw_dia = 4.5; // XXX +wm_screw_around = 3.5; // XXX +wm_screw_slot = 4.0; +wm_csink = 2.5; // XXX catch_stalk_h = 4.5; catch_stalk_len = 50; @@ -155,6 +156,10 @@ sm_outer_rad = sm_inner_rad + sm_main_thick; wm_main_width = sm_main_width; 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_y_slot1_screw = wm_y_screw + wm_screw_slot; +wm_y_slot1_max = wm_y_max + wm_screw_slot; smc_pos = [ 0, sm_inner_rad, 0 ]; @@ -590,8 +595,9 @@ module WallMount(){ ////toplevel SomeStrap(sm_main_width){ union(){ linextr(0, sm_main_width){ - translate([ -sm_outer_rad, wm_y_min ]) - square([ wm_thick, 20 ]); + translate([ -sm_outer_rad, 0 ]) + rectfromto([ 0, -wm_y_max ], + [ wm_thick, wm_y_slot1_max ]); } } union(){ } -- 2.30.2