1 // hook for the aluminium kitchen bar from IKEA
8 bar_to_wall = 27; // incl. the bar itself
11 upper_overhang = 10.0 - wall;
16 clip_front = 5; // stronger than wall for this object
18 // coordinates: front end of the bar is the xz plane, centered by the x axis,
19 // +x is the upper part, -x is lower, +y is front
23 translate([-bar_h/2-wall, 0, 0])
24 cube([bar_h + 2*wall, clip_front, body_h]);
25 // upper and lower horizontal bars
26 for (x = [-1, 1]) scale([x, 1, 1])
27 translate([bar_h/2, -bar_w -wall, 0])
28 cube([wall, bar_w + 2*wall, body_h]);
30 translate([bar_h/2-upper_overhang, -bar_w-wall, 0])
31 cube([upper_overhang + wall, wall, body_h]);
33 translate([-bar_h/2-wall, -bar_w-wall, 0])
35 cube([lower_overhang + wall, wall, body_h]);
36 translate([lower_overhang + wall, 2*wall/3, 0])
38 translate([0, -infty/2, -infty/2])
43 // holder for the magnetic knife bar based on the above clip
49 knifebar_w = 45; // for an alternative design
50 knifebar_w_big = 47.5 + 0.7;
59 translate([-bar_h/2-wall, 0, 0])
60 cube([bar_h + 2*wall, front_w, body_h]);
64 translate([0, -infty/2, body_h/2])
66 cylinder(r = screw_hole/2, h=infty, $fn = 6);
68 translate([0, bolt_depth, body_h/2])
70 cylinder(r = bolt_hole/2, h=infty, $fn = 6);
77 knifebar_x_off = -bar_h/2-wall-8;
78 knifebar_y_off = -knifebar_d + 2*wall;
79 knifebar_rear_wall = 5;
83 translate([-bar_h/2-wall, -bar_w -wall, 0])
84 cube([wall, bar_w + wall + clip_front, body_h]);
85 translate([knifebar_x_off, knifebar_y_off-knifebar_rear_wall, 0])
86 cube([wall, -knifebar_y_off+wall+knifebar_rear_wall, body_h]);
87 // translate([knifebar_x_off, knifebar_y_off-knifebar_rear_wall, 0])
88 // cube([wall, knifebar_rear_wall, body_h]);
93 translate([knifebar_x_off-knifebar_w_big+wall, knifebar_y_off-knifebar_rear_wall, 0])
94 cube([knifebar_w_big, knifebar_rear_wall, body_h]);
95 translate([knifebar_x_off-knifebar_w_big/2, 0, body_h/2])
97 cylinder(r = screw_hole/2, h = infty, $fn = 6);
100 // bottom support to the wall
101 translate([knifebar_x_off-knifebar_w_big+wall, -bar_to_wall, 0])
102 cube([wall, bar_to_wall+knifebar_y_off, body_h]);
107 # translate([knifebar_x_off-knifebar_w_big, knifebar_y_off, 0])
108 cube([knifebar_w_big, knifebar_d, body_h]);
111 # translate([-infty/2, -bar_to_wall, 0])
112 cube([infty, eps, body_h]);