From 11e79b400c170908a6a425c013047f73cd6869cf Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 22 Dec 2016 16:42:22 +0100 Subject: [PATCH] croozer-joint.scad: the first printable version --- croozer-joint.scad | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/croozer-joint.scad b/croozer-joint.scad index ca8309d..b043233 100644 --- a/croozer-joint.scad +++ b/croozer-joint.scad @@ -7,14 +7,27 @@ side_space = 1.5; wall = 2; corner_d = 3; -inner_w = 16 + 0.3; +inner_w = 16 + 0.6; outer_w = 22.5 - 0.3; body_h = 45; -hole_d = 7; +hole_d = 7*1.1; hole_off = 29; - - - - +module body() { + hull() for (angle = [45:90:360]) rotate([0, 0, angle]) + translate([outer_w/sqrt(2)-corner_d*sqrt(2)/2, 0, 0]) + cylinder(r=corner_d/2, h = body_h, $fn = 8); + hull() for (angle = [45:90:360]) rotate([0, 0, angle]) + translate([(outer_w+2*wall)/sqrt(2)-corner_d*sqrt(2)/2, 0, 0]) + cylinder(r=corner_d/2, h = side_space, $fn = 8); +} + +difference() { + body(); + translate([-inner_w/2, -inner_w/2, -eps]) + cube([inner_w, inner_w, body_h + 2*eps]); + translate([0, infty/2, hole_off]) + rotate([90, 0, 0]) + cylinder(r = hole_d/2, h=infty, $fn = 6); +} -- 2.43.5