From: Jan "Yenya" Kasprzak Date: Wed, 19 Jun 2019 15:42:58 +0000 (+0200) Subject: balcony-doors-handle X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d61a0215090a40511edb461a3210b1a40cefb1dc;p=things.git balcony-doors-handle --- diff --git a/balcony-doors-handle.scad b/balcony-doors-handle.scad new file mode 100644 index 0000000..900e372 --- /dev/null +++ b/balcony-doors-handle.scad @@ -0,0 +1,27 @@ +eps = 0.01; +infty = 200; + +body_l = 80; +screw_dist = 47.5; +body_w = 15; +body_h = 20; +screw_hole = 3.5; +screw_head = 9; +screw_h = 5; +side_d = body_h; +side_y = 15; + +difference() { + translate([-body_l/2, -body_w/2, 0]) + cube([body_l, body_w, body_h]); + // screw holes + for (x = [-screw_dist/2, screw_dist/2]) { + translate([x, 0, -eps]) + cylinder(r = screw_hole/2, h = body_h + 2*eps); + translate([x, 0, screw_h]) + cylinder(r = screw_head/2, h = body_h); + } + // sides + for (y = [-side_y, side_y]) translate([-body_l/2-eps, y, body_h/2]) + rotate([0, 90, 0]) cylinder(r = side_d/2, h = body_l+2*eps); +}