diff --git a/Gehauese.scad b/Gehauese.scad index 0c4c32a9908b70a7d8b26e609d046b1f06b109bf..3c3fd6d6631f917744557985c5cc6c163387842d 100644 --- a/Gehauese.scad +++ b/Gehauese.scad @@ -164,20 +164,44 @@ module case_right_side(x, y, z, visibility) { } module case_back_side(x, y, z, visibility) { - translate([x, y, z]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 28.5]); + union() { + translate([x, y, z]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 28.5]); + + // Rahmen + difference() { + union() { + translate([x, y+2, z+22.5]) color([0.4, 0.4, 0.4], visibility) cube([95, 3, 10 ]); + translate([x, y, z+30.5]) color([0.4, 0.4, 0.4], visibility) cube([95, 5, 2]); + } + translate([x-0.2, y+3, z+20]) rotate([45, 0, 0]) cube([97, 10, 3]); + translate([x-0.2, y, z+30.5]) rotate([45, 0, 0]) cube([97, 3, 10]); + } + + } } module case_front_side(x, y, z, visibility) { - difference() { - translate([x, y, z]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 28.5]); - // Aux-hole - translate([x+61, y-0.2, z+10]) rotate([0, 90, 90]) cylinder(5, 4, 4,$fn=50, true); - // HDMI-hole1 - translate([x+28.7, y-0.2, z+6]) cube([8.5, 4, 4]); - // HDMI-hole2 - translate([x+42.2, y-0.2, z+6]) cube([8.5, 4, 4]); - // USB-C-hole - translate([x+13, y-0.2, z+6]) cube([10.5, 4, 4]); + union() { + difference() { + translate([x, y, z]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 28.5]); + // Aux-hole + translate([x+61, y-0.2, z+10]) rotate([0, 90, 90]) cylinder(5, 4, 4,$fn=50, true); + // HDMI-hole1 + translate([x+28.7, y-0.2, z+6]) cube([8.5, 4 , 4]); + // HDMI-hole2 + translate([x+42.2, y-0.2, z+6]) cube([8.5, 4 , 4]); + // USB-C-hole + translate([x+13, y-0.2, z+6]) cube([10.5, 4, 4]); + } + // Rahmen + difference() { + union() { + translate([x, y-3, z+22.5]) color([0.4, 0.4, 0.4], visibility) cube([95, 3, 10 ]); + translate([x, y-3, z+30.5]) color([0.4, 0.4, 0.4], visibility) cube([95, 5, 2]); + } + translate([x-0.2, y-1.5, z+20]) rotate([45, 0, 0]) cube([97, 3, 10]); + translate([x-0.2, y+2, z+30.5]) rotate([45, 0, 0]) cube([97, 3, 10]); + } } }