diff --git a/box.scad b/box.scad index d425a87..6723aa8 100644 --- a/box.scad +++ b/box.scad @@ -213,15 +213,21 @@ module boxjoiner_clear(inset=5, slop=.01, jh=JOINER_H, jw=JOINER_W, align=V_FRON module hinge(theta=90) { x=7; py=20; + d = .4 / sqrt(2); difference() { - left(x/2)cuboid([x,20,50], fillet=2, edges=EDGES_X_ALL); + left(x/2)cuboid([x,20+2*d,50], fillet=2, edges=EDGES_X_ALL); hinge_mount($die=true); } - left(5.5)back(py/2 + 5)zrot(theta){ - cylinder(r=5, h=6); + left(5+d)back(py/2 + 5+d)zrot(theta){ + zspread(n=4, l=42 ) cyl(r=5, h=6); difference() { - left((x)/2-5)back(10+5)cuboid([x,20,50], fillet=2, edges=EDGES_X_ALL); - right(5)back(10+5)zrot(180) { + zspread(n=3, l=28 ) cyl(r=5, h=6); + zspread(n=3, l=28 ) cyl(r=2.2, h=6.2); + } + cyl(r=2, h=42); + difference() { + left((x)/2-5)back(10+5)cuboid([x,20+2*d,50], fillet=2, edges=EDGES_X_ALL); + right(5)back(10+6)zrot(180) { hinge_mount(bl=9, $die=true); %hinge_mount(bl=9,$die=false); }