1 include <yenyalib.scad>;
11 top_back_h = wall*1.5;
16 bottom_hole_r = 1.2*width;
21 module valcova_usec(r, w, h) {
23 tx(-sqrt(r^2 - (h/2)^2)) tz(h/2) rx(-90)
24 cylinder(r = r, h = w);
32 sx(top_h/wall) cylinder(r = wall, h = width);
39 sx(top_back_h/wall) cylinder(r = wall, h = width);
40 translate([-infty, -infty, 0]) cube(infty);
45 sx(top_h/(top_hole_w+wall))
46 cylinder(r = top_hole_w + wall, h = width);
47 ty(-infty) cube(infty);
51 tx(-beam_h) cube([beam_h, wall, width]);
56 sy((bottom_hole_w+2*wall)/bottom_h) cylinder(r = bottom_h, h = width);
57 tx(-infty) cube(infty);
61 translate([-beam_h, bottom_hole_w+wall, 0])
62 cube([front_h, wall, width]);
65 translate([front_h-beam_h, bottom_hole_w+wall, 0])
66 valcova_usec(bottom_hole_r, wall, width);
68 // hook rounded bottom
69 translate([-beam_h, wall, 0])
70 valcova_usec(bottom_hole_r, bottom_hole_w, width);
76 for (z = [-1, 1]) sz(z) cylinder(r1 = 1, r2 = 0, h = 2, $fn = 32);
81 // round_edges(1) vesak();