From db656c08d3747d3fd097b79c8be0919c9cb684c1 Mon Sep 17 00:00:00 2001 From: Stephen J Carpenter Date: Sun, 3 Aug 2025 08:10:46 -0400 Subject: [PATCH] Changes for V3 - Glue no longer needed - Reinforced feet - Foot lock not needed, optional. --- box.scad | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/box.scad b/box.scad index 28543e9..215e867 100644 --- a/box.scad +++ b/box.scad @@ -88,7 +88,7 @@ module profile(ps=PROFILE_SIZE, wl=WIN_LIP, wt=WIN_THICK, wtr=WIN_TRIM, fl=FLOOR polygon(points = gon, convexity=conv); } -module rb_foot(fw=RB_MOUNT_WIDTH, rl=RB_MOUNT_LEN+5, rh=RB_MOUNT_OUT_H, fl=10) { +module rb_foot(fw=RB_MOUNT_WIDTH, rl=RB_MOUNT_LEN+5, rh=RB_MOUNT_OUT_H, li=false, fl=10) { difference() { union() { translate([-(fl+rl/2),0]) { @@ -111,7 +111,10 @@ module rb_foot(fw=RB_MOUNT_WIDTH, rl=RB_MOUNT_LEN+5, rh=RB_MOUNT_OUT_H, fl=10) { cyl(r=4.5, h=fw, align=V_TOP); right(20)cyl(r=4.5, h=fw, align=V_TOP); } - up(4) right(fl+rl/2) back(rh + 6) xrot(180)yrot(90)m3s_clear(bl=12,bz=-12, sh=0, drop=true, $die=true); + if (li == true) { + up(4) right(fl+rl/2) back(rh + 6) xrot(180)yrot(90)m3s_clear(bl=12,bz=-12, sh=0, drop=true, $die=true); + } + up(fw/2-.5)xspread(l=2+rl+rh/2, n=2) #back(23)cuboid([3,20,3]); } back=5; bmax = back + (fw-1); @@ -129,14 +132,14 @@ module hinge_mount(bz=WIN_THICK, inv=false, bl=10) { zrot(-90)xrot(90)right(5) { up(3+2) cyl(d1=7, d2=9,h=7, align=V_TOP); //thread_insertM3(bl=bl,bz=-(bl-3), $die=true); - m3s_clear(bl=bl,bz=-(bl-3), sh=inv ? .2 : 0, $die=true); + m3s_clear(bl=bl,bz=-(bl-3), sh=inv ? .23 : 0, $die=true); //%thread_insertM3(bl=10,bz=-7); } } zrot(-90)xrot(90)left(5) { up(3+2) cyl(d1=7, d2=9,h=7, align=V_TOP); //thread_insertM3(bl=bl,bz=-(bl-3), $die=true); - m3s_clear(bl=bl,bz=-(bl-3), sh=inv ? .2 : 0, $die=true); + m3s_clear(bl=bl,bz=-(bl-3), sh=inv ? .23 : 0, $die=true); //%thread_insertM3(bl=10,bz=-7); } } @@ -197,7 +200,7 @@ module box_edge(ps=PROFILE_SIZE, l=10, orient=ORIENT_Z, jh = JOINER_H,jw = JOINE jzoff = l/2-jw/2; inner_off = ps/2 + wt; jdiff = (ps-wt)/2 - jh; - joiner_off = inner_off - 1 - (jh+jdiff/2)/sqrt(2)/2;//- (ps-.14)/(2*sqrt(2)) + jw/2; //- (jw)/sqrt(2); + joiner_off = inner_off - (jh+jdiff/2)/sqrt(2)/2;//- (ps-.14)/(2*sqrt(2)) + jw/2; //- (jw)/sqrt(2); psoff = ps/2 - wl - wt; face_off = ((ps+psoff)/4); orient_and_align([ps,ps,l], orient=orient, align=align, orig_orient=ORIENT_Z) left(ps/2) fwd(ps/2) { @@ -319,8 +322,8 @@ module new_joiner(spacing=0, slop=JOINER_SLOP, align=V_FRONT, jh=JOINER_H, jw=JO spread = jw + spacing; color(cl) orient_and_align([2*jw+spacing,0,jh], orig_align=V_FRONT, align=align, orient=orient) { - left(spread/2) half_joiner(slop=slop, h=jh, w=jw, l=l, screwsize=$preview ? undef : undef); - right(spread/2) half_joiner2(h=jh, w=jw, l=l, screwsize=$preview ? undef : undef); + left(spread/2) half_joiner(slop=slop, h=jh, w=jw, l=l, screwsize=$preview ? undef : 2); + right(spread/2) half_joiner2(h=jh, w=jw, l=l, screwsize=$preview ? undef : 2); } } module new_joiner2(spacing=0, slop=JOINER_SLOP, align=V_FRONT, jh=JOINER_H, jw=JOINER_W, l=4, orient=ORIENT_Z, cl=undef) { @@ -337,6 +340,7 @@ module new_joiner_clear(spacing=0, slop=JOINER_SLOP, align=V_FRONT, jh=JOINER_H, orient_and_align([2*jw+spacing,0,jh], orig_align=V_FRONT, align=align, orient=orient) { left(spread/2) half_joiner_clear(h=jh, w=jw); right(spread/2) half_joiner_clear(h=jh, w=jw); + cyl(d=2, h=50, orient=ORIENT_X); } }