1 // hook for the aluminium kitchen bar from IKEA
10 upper_overhang = 10.0 - wall;
15 // coordinates: front end of the bar is the xz plane, centered by the x axis,
16 // +x is the upper part, -x is lower, +y is front
20 translate([-bar_h/2-wall, 0, 0])
21 cube([bar_h + 2*wall, wall, body_h]);
22 // upper and lower horizontal bars
23 for (x = [-1, 1]) scale([x, 1, 1])
24 translate([bar_h/2, -bar_w -wall, 0])
25 cube([wall, bar_w + 2*wall, body_h]);
27 translate([bar_h/2-upper_overhang, -bar_w-wall, 0])
28 cube([upper_overhang + wall, wall, body_h]);
30 translate([-bar_h/2-wall, -bar_w-wall, 0])
32 cube([lower_overhang + wall, wall, body_h]);
33 translate([lower_overhang + wall, 2*wall/3, 0])
35 translate([0, -infty/2, -infty/2])
40 // holder for the magnetic knife bar based on the above clip
46 knifebar_w = 45; // for an alternative design
51 translate([-bar_h/2-wall, 0, 0])
52 cube([bar_h + 2*wall, front_w, body_h]);
56 translate([0, -infty/2, body_h/2])
58 cylinder(r = screw_hole/2, h=infty, $fn = 6);
60 translate([0, bolt_depth, body_h/2])
62 cylinder(r = bolt_hole/2, h=infty, $fn = 6);