b = 80; h = 170; d = 84; w = 4; // Mooie ronde gaten $fa = 10; $fs = 0.4; $fn = 100; difference () { difference () { translate ([0,0,h/2]) cube ([b,d,h], center = true); translate ([0,-d/2,h]) rotate ([30,0,0]) cube ([b+1,d,h/2], center = true); translate ([0,d/2,h]) rotate ([-30,0,0]) cube ([b+1,d,h/2], center = true); } difference () { translate ([-5,0,h/2]) cube ([b+2,d-w,h-w], center = true); translate ([0,-d/2,h-w/2]) rotate ([30,0,0]) cube ([b+1,d,h/2], center = true); translate ([0,d/2,h-w/2]) rotate ([-30,0,0]) cube ([b+1,d,h/2], center = true); } // uitsparing voor snoer translate([0,-d/2+1, 15]) rotate([90,0,0]) cube([30,12,10], center=true); // Uitsparing zijkanten translate([-40,0,,65]) rotate([90,0,0]) cylinder(h=90, r=20, center=true, $fn=100); // schroefgaten translate([-b/2 + 20, b/2-60, h/2 - 1]) // rechter gat rotate([0,90,0]) cylinder(h=b+50, d=4); translate([-b/2 + 20, b/2-20, h/2 - 1]) // linker gat rotate([0,90,0]) cylinder(h=b+50, d=4); } // PLAFOND translate([0, 0, h/2 + 34]) cube([b - w, d - w, 2], center=true); // buitenrand translate([-b/2, -d/2, 0]) cube([w, d, 10]);