From a76a5280581ee5a805f84eacfd58cc15a817df84 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 28 Aug 2023 21:36:04 +0100 Subject: [PATCH] poster-tube-lid: WallMountBase fix render bug Signed-off-by: Ian Jackson --- poster-tube-lid.scad | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index ef0d856..d82b08d 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -111,6 +111,7 @@ wmb_bottom_gap = 35; // includes allowance for padding, etc. wmb_bottom_th = 7; wmb_bottom_th_min = 1; wmb_ring_gap = 1.0; +wmb_base_extra_rad = 10; catch_stalk_h = 4.5; catch_stalk_len = 50; @@ -212,7 +213,7 @@ wmb_z_max = wmb_z_screw * 2; wmbb_y_max = wmb_y_mount_max + wmb_mount_gap_xy + wmb_mount_wall; wmbb_x_outer = wmb_x_outer + (wmb_mount_gap_xy + wmb_mount_wall); wmbb_z_flat_max = -wmb_bottom_gap; -wmbb_z_flat_min = wmbb_z_flat_max - wmb_bottom_th_min; +wmbb_z_flat_whole_min = wmbb_z_flat_max - wmb_bottom_th_min; wmbb_z_min = wmbb_z_flat_max - wmb_bottom_th; smc_pos = [ 0, sm_inner_rad, 0 ]; @@ -758,7 +759,13 @@ module WallMountBase(){ ////toplevel } } -// linextr( + hull(){ + linextr(wmbb_z_flat_whole_min, wmbb_z_flat_max) + circle(r = main_dia/2 + wmb_base_extra_rad); + linextr(wmbb_z_min, wmbb_z_flat_max) + circle(r = main_dia/2 + wmb_base_extra_rad - + (wmb_bottom_th - wmb_bottom_th_min)); + } } // cutaway for mount part -- 2.30.2