1
0
mirror of https://github.com/pgrondek/SixInchRack.git synced 2024-11-26 13:44:22 +00:00
SixInchRack/RackCabinets/RaspberryPi3BFan/R3_Cabinet_with_fan.scad

77 lines
2.0 KiB
OpenSCAD
Raw Normal View History

2019-10-01 21:10:58 +00:00
include<../sixinch_library.scad>
///////////////////////////////
// Raspberry Pi 3 Model B //
///////////////////////////////
print_cabinet_sml = true;
if(print_cabinet_sml){ // Cabinet //
w=88;
h=70;
2019-10-06 18:25:03 +00:00
pole=2.52;
2019-10-02 16:09:56 +00:00
height=8;
2019-10-01 21:10:58 +00:00
screw_bottom_front = [36];
screw_side_front = [];
round_peg = [
[w,h,6,2.8,4],
[w-49,h,6,2.8,4],
[w-49,h-58,6,2.8,4],
[w,h-58,6,2.8,4],
2019-10-02 16:09:56 +00:00
[w,h, pole,0,height],
[w-49,h, pole,0,height],
2019-10-01 21:10:58 +00:00
[w-49,h-58,pole,0,height],
2019-10-02 16:09:56 +00:00
[w,h-58, pole,0,height]];
2019-10-01 21:10:58 +00:00
depth = 98;
units = 2;
2019-10-02 16:09:56 +00:00
shift = 0;
2019-10-01 21:10:58 +00:00
difference(){
cabinet(depth,units,screw_bottom_front,round_peg,screw_side_front);
//fan grille
2019-10-02 16:09:56 +00:00
translate([0,-0.1,56 -shift]){cube([43.45,16.5,2]);}
translate([0,-0.1,56+4 -shift]){cube([43.45,16.5,2]);}
translate([0,-0.1,56+8 -shift]){cube([43.45,16.5,2]);}
translate([0,-0.1,56+12-shift]){cube([43.45,16.5,2]);}
translate([0,-0.1,56+16-shift]){cube([43.45,16.5,2]);}
translate([0,-0.1,56+20-shift]){cube([43.45,16.5,2]);}
translate([0,-0.1,56+24-shift]){cube([43.45,16.5,2]);}
2019-10-01 21:10:58 +00:00
}
difference(){
translate([36,14,69-shift]){
rotate([0,0,55]){
cube([40,26+3,26+3],center=true); //25x25x10mm fan
}
}
//fan duct
translate([36,14,69-shift]){
rotate([0,0,55]){
cube([52,26,26],center=true); //25x25x10mm fan
}
}
//cutoff inside
translate([36,14,69-shift]){
rotate([0,0,55]){
translate([11,0,0]){
cube([22,32,32],center=true); //25x25x10mm fan
}
}
}
//cutoff bottom
translate([0,-20,0]){
cube([200,20,200]);
}
//cutoff side
cube([20,20,100]);
}
}