From 7a8867d91b5c3edc225602adfc2d176e64963aa0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 28 Aug 2023 11:11:17 +0100 Subject: [PATCH] poster-tube-lid: WallMount wip Signed-off-by: Ian Jackson --- poster-tube-lid.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index 8b0aa12..4af0813 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -153,7 +153,8 @@ 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_y_min = sqrt( pow(sm_inner_rad, 2) - pow(wm_thick - sm_main_thick, 2) ); +wm_y_min = sqrt( pow(sm_inner_rad, 2) - + pow(sm_inner_rad - (wm_thick - sm_main_thick), 2) ); smc_pos = [ 0, sm_inner_rad, 0 ]; -- 2.30.2