diff --git a/latch.scad b/latch.scad index 51462a1..d11a629 100644 --- a/latch.scad +++ b/latch.scad @@ -21,13 +21,13 @@ module _top_post(thickness, axis, ridge, funnel, tol) { } } -module latch_top(spacing=10, thickness=3, axis=2.5, ridge=.5, funnel=.7, tol=.2) { +module latch_top(spacing=10, thickness=3, axis=2.5, ridge=.7, funnel=.7, tol=.2) { translate([spacing/2, 0, 0]) _top_post(thickness, axis, ridge, funnel, tol); translate([-spacing/2-thickness, 0, 0]) _top_post(thickness, axis, ridge, funnel, tol); } -module latch_tongue(length=20, width=10, thickness=3, axis=2.5, ridge=.5, tol=.2) { - overlap = ridge; +module latch_tongue(length=20, width=10, thickness=3, axis=2.5, ridge=.7, tol=.2) { + overlap = ridge+thickness; translate([width+thickness, 0, thickness/2]) rotate([0, -90, 0]) cylinder(h=width+2*thickness, d=axis); hull() { translate([width-tol, 0, thickness/2]) rotate([0, -90, 0]) cylinder(h=width-tol, d=thickness); @@ -41,7 +41,7 @@ module latch_tongue(length=20, width=10, thickness=3, axis=2.5, ridge=.5, tol=.2 } } -module latch_catch(width=10, thickness=3, axis=2.5, ridge=.5, tol=.2) { +module latch_catch(width=10, thickness=3, axis=2.5, ridge=.7, tol=.2) { overlap = ridge; translate([-width/2, 0, 0]) cube([width-tol, thickness, (thickness+ridge)/2+overlap]); translate([width/2-tol, 0, thickness/2+overlap]) rotate([0, -90, 0]) cylinder(h=width-tol, d=ridge); diff --git a/latch.stl b/latch.stl index 462f7a6..c1f892d 100644 Binary files a/latch.stl and b/latch.stl differ