Skip to content
Snippets Groups Projects
Commit 7eb0f1fa authored by Manuel Schmidt's avatar Manuel Schmidt
Browse files

Bohrung für externe Spannungsversorgung hinzugefügt

parent f991315d
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,54 @@ module camera(x, y, z) {
}
}
module socket_powerSupply(x, y, z){
z = z+18;
y = y-1;
x = x+70;
difference(){
union() {
// Korpus socket
translate([x+0, y+4.75, z+0])
rotate([0, 90, 90])
color([0.4, 0.35, 0.35], 1.0)
cylinder(7.5, 4, 4,$fn=50, true);
// Socket outside
translate([x+0, y-1.5, z+0])
rotate([0, 90, 90])
color([0.4, 0.35, 0.35], 1.0)
cylinder(4.5, 5, 5,$fn=50, true);
// Mutter M8
translate([x+0, y+4.1, z+0])
rotate([0, 90, 90])
color([0.4, 0.35, 0.35], 1.0)
cylinder(2, 5.8, 5.8,$fn=6, true);
// Pin GND
translate([x-1, y+8.5, z-2])
color([0.664, 0.6601, 0.67578], 1.0)
cube([2, 5, 0.1]);
// Pin 5V
translate([x-1, y+8.5, z+2])
color([0.664, 0.6601, 0.67578], 1.0)
cube([2, 3.5, 0.1]);
}
translate([x+0, y+1, z+0])
rotate([0, 90, 90])
/*color([0.4, 0.35, 0.35], 1.0)*/
cylinder(10, 2.55, 2.55,$fn=50, true);
}
// Pin Voltage
translate([x+0, y+1, z+0])
rotate([0, 90, 90])
color([0.664, 0.6601, 0.67578], 1.0)
cylinder(8, 1.05, 1.05,$fn=50, true);
}
/*----------- Parts of Raspberry Pi case -------------*/
......@@ -562,9 +610,14 @@ module case_front_side(x, y, z, visibility) {
translate([x+1, y+1, z+26.5])
cube([94, 2, 2]);
// Powerplug-hole
translate([x+70, y-0.2, z+16])
rotate([0, 90, 90])
cylinder(5, 4, 4,$fn=50, true);
// Rahmenaussparung (AUX) zum erleichterten Einlegen des RPi
translate([x+54, y+1, z+2])
cube([14, 1.8, 27]);
cube([11.5, 1.8, 27]);
// Rahmenaussparung (USB/HDMI) zum erleichterten Einlegen
// des RPi
......@@ -628,9 +681,9 @@ module case_top_side(x, y, z, visibility) {
color([0.4, 0.4, 0.4], visibility)
cube([95, 62, 2]);
translate([x+9, y+4, z-0.5])
translate([x+9, y+5, z-0.5])
color([0.4, 0.4, 0.4], visibility)
cube([80, 53, 3]);
cube([78, 52, 3]);
}
// union
translate([x+5, y, z+1])
......@@ -648,6 +701,40 @@ module case_top_side(x, y, z, visibility) {
translate([x+90, y+62, z+1])
color([0.4, 0.4, 0.4], visibility)
cylinder(2, 5, 5, true);
difference(){
// Übergangsrahmen (zum Gehäuse) links
translate([x+1.5, y+1.5, z-1.9])
color([0.4, 0.4, 0.4], visibility)
cube([2, 59, 1.9]);
//Nut für Deckel
translate([x+2, y+18.95, z-3.45])
rotate([0, 90, 0])
cylinder(4, 3.1, 3.1, true);
//Nut für Deckel
translate([x+2, y+43.1, z-3.45])
rotate([0, 90, 0])
cylinder(4, 3.1, 3.1, true);
}
// Übergangsrahmen (zum Gehäuse) rechts
translate([x+91.5, y+1.5, z-1.9])
color([0.4, 0.4, 0.4], visibility)
cube([2, 59, 1.9]);
// Übergangsrahmen (zum Gehäuse) vorne
translate([x+1.5, y+1.5, z-1.9])
color([0.4, 0.4, 0.4], visibility)
cube([90, 2, 1.9]);
// Übergangsrahmen (zum Gehäuse) hinten
translate([x+1.5, y+59, z-1.9])
color([0.4, 0.4, 0.4], visibility)
cube([90, 1.5, 1.9]);
}
// difference
translate([x+5, y-1, z+1])
......@@ -662,6 +749,8 @@ module case_top_side(x, y, z, visibility) {
translate([x+90, y+63, z+1])
cylinder(3, 1.3, 1.3, true);
}
}
......@@ -980,12 +1069,13 @@ module case_camera_top(x, y, z, visibility) {
}
/*------------------- Assembling ------------------*/
//case_raspberryPi_top(0, 0, 5, 0.7);
//touchscreen(0, 0, 0);
//raspberryPi(0, 0, 0);
case_raspberryPi_top(0, 0, 0, 0.7);
touchscreen(0, 0, 0);
raspberryPi(0, 0, 0);
socket_powerSupply(0, 0, 0);
case_raspberryPi(0, 0, 0, 0.7);
//case_camera(0, 0, 0, 0.7);
//camera(0, 0, 0);
//case_camera_top(0, 0, 0, 0.7);
//fan_frame(0, 0, 0);
case_camera(0, 0, 0, 0.7);
camera(0, 0, 0);
case_camera_top(0, 0, 0, 0.7);
fan_frame(0, 0, 0);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment