funktioin fertig
This commit is contained in:
28
3d/box.scad
Normal file
28
3d/box.scad
Normal file
@ -0,0 +1,28 @@
|
||||
// Maße
|
||||
width = 100;
|
||||
height = 70;
|
||||
depth = 30;
|
||||
wall = 2;
|
||||
|
||||
// Hauptgehäuse
|
||||
difference() {
|
||||
// Außengehäuse
|
||||
cube([width, height, depth]);
|
||||
|
||||
// Innenaushöhlung
|
||||
translate([wall, wall, wall])
|
||||
cube([width - 2*wall, height - 2*wall, depth - wall]);
|
||||
|
||||
// Display-Ausschnitt vorne
|
||||
translate([15, 20, depth - 1])
|
||||
cube([70, 30, 2]);
|
||||
|
||||
// USB-Ausschnitt unten hinten
|
||||
translate([width/2 - 5, -1, 5])
|
||||
cube([10, wall + 1, 5]);
|
||||
|
||||
// Kippschalter oben (rundes Loch)
|
||||
translate([width/2, height - wall, depth - 10])
|
||||
rotate([90, 0, 0])
|
||||
cylinder(h = wall + 2, r = 10, $fn=64);
|
||||
}
|
Reference in New Issue
Block a user