1 // joint for Croozer Cargo
18 hull() for (angle = [45:90:360]) rotate([0, 0, angle])
19 translate([outer_w/sqrt(2)-corner_d*sqrt(2)/2, 0, 0])
20 cylinder(r=corner_d/2, h = body_h, $fn = 8);
21 hull() for (angle = [45:90:360]) rotate([0, 0, angle])
22 translate([(outer_w+2*wall)/sqrt(2)-corner_d*sqrt(2)/2, 0, 0])
23 cylinder(r=corner_d/2, h = side_space, $fn = 8);
28 translate([-inner_w/2, -inner_w/2, -eps])
29 cube([inner_w, inner_w, body_h + 2*eps]);
30 translate([0, infty/2, hole_off])
32 cylinder(r = hole_d/2, h=infty, $fn = 6);