1 // hook for the aluminium kitchen bar from IKEA
8 bar_to_wall = 24; // incl. the bar itself
11 upper_overhang = 10.0 - wall;
16 // coordinates: front end of the bar is the xz plane, centered by the x axis,
17 // +x is the upper part, -x is lower, +y is front
21 translate([-bar_h/2-wall, 0, 0])
22 cube([bar_h + 2*wall, wall, body_h]);
23 // upper and lower horizontal bars
24 for (x = [-1, 1]) scale([x, 1, 1])
25 translate([bar_h/2, -bar_w -wall, 0])
26 cube([wall, bar_w + 2*wall, body_h]);
28 translate([bar_h/2-upper_overhang, -bar_w-wall, 0])
29 cube([upper_overhang + wall, wall, body_h]);
31 translate([-bar_h/2-wall, -bar_w-wall, 0])
33 cube([lower_overhang + wall, wall, body_h]);
34 translate([lower_overhang + wall, 2*wall/3, 0])
36 translate([0, -infty/2, -infty/2])
41 // holder for the magnetic knife bar based on the above clip
47 knifebar_w = 45; // for an alternative design
48 knifebar_w_big = 47.5 + 0.7;
57 translate([-bar_h/2-wall, 0, 0])
58 cube([bar_h + 2*wall, front_w, body_h]);
62 translate([0, -infty/2, body_h/2])
64 cylinder(r = screw_hole/2, h=infty, $fn = 6);
66 translate([0, bolt_depth, body_h/2])
68 cylinder(r = bolt_hole/2, h=infty, $fn = 6);
75 knifebar_x_off = -bar_h/2-wall-8;
76 knifebar_y_off = -knifebar_d + 2*wall;
77 knifebar_rear_wall = 5;
81 translate([-bar_h/2-wall, -bar_w -wall, 0])
82 cube([wall, bar_w + 2*wall, body_h]);
83 translate([knifebar_x_off, knifebar_y_off-knifebar_rear_wall, 0])
84 cube([wall, -knifebar_y_off+wall+knifebar_rear_wall, body_h]);
85 // translate([knifebar_x_off, knifebar_y_off-knifebar_rear_wall, 0])
86 // cube([wall, knifebar_rear_wall, body_h]);
91 translate([knifebar_x_off-knifebar_w_big+wall, knifebar_y_off-knifebar_rear_wall, 0])
92 cube([knifebar_w_big, knifebar_rear_wall, body_h]);
93 translate([knifebar_x_off-knifebar_w_big/2, 0, body_h/2])
95 cylinder(r = screw_hole/2, h = infty, $fn = 6);
98 // bottom support to the wall
99 translate([knifebar_x_off-knifebar_w_big+wall, -bar_to_wall, 0])
100 cube([wall, bar_to_wall+knifebar_y_off, body_h]);
105 # translate([knifebar_x_off-knifebar_w_big, knifebar_y_off, 0])
106 cube([knifebar_w_big, knifebar_d, body_h]);
109 # translate([-infty/2, -bar_to_wall, 0])
110 cube([infty, eps, body_h]);