mirror of
https://github.com/pgrondek/SixInchRack.git
synced 2024-11-22 03:53:42 +00:00
Added RPi mesh frontplate
This commit is contained in:
parent
0781677f52
commit
c3cd46e8ca
26
Libs/Mesh-lib.scad
Normal file
26
Libs/Mesh-lib.scad
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
module mesh(xCount, yCount, height=1, size=1) {
|
||||
translate ([1*size,1*size,0]) {
|
||||
for (x =[0:(xCount-1)]) {
|
||||
for (y =[0:(yCount-1)]) {
|
||||
translate([x*3.2*size,y*2*size,0]) {
|
||||
cylinder(height,size,size,$fn=6);
|
||||
translate([1.6*size,1*size,0])
|
||||
cylinder(height,size,size,$fn=6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//mesh(5,5,5,5);
|
||||
/*
|
||||
height=1;
|
||||
size=4;
|
||||
translate([x*3.2,y*2,0]) {
|
||||
cylinder(height,size,size,$fn=6);
|
||||
translate([1.6*size,1*size,0])
|
||||
cylinder(height,size,size,$fn=6);
|
||||
}
|
||||
*/
|
41
RackCabinets/Mesh/RPi3.scad
Normal file
41
RackCabinets/Mesh/RPi3.scad
Normal file
@ -0,0 +1,41 @@
|
||||
include<../sixinch_library.scad>
|
||||
include<../../Libs/Mesh-lib.scad>
|
||||
|
||||
|
||||
///////////////////////////////
|
||||
// Raspberry Pi 3 Model B //
|
||||
///////////////////////////////
|
||||
|
||||
print_frontplate_sml = true;
|
||||
|
||||
if(print_frontplate_sml){ // Frontplate //
|
||||
square_hole = [];
|
||||
round_hole = [];
|
||||
round_peg = [];
|
||||
screw_side_front = [];
|
||||
screw_top = [36];
|
||||
screw_bottom_front = [36];
|
||||
units = 2;
|
||||
difference() {
|
||||
frontplate(units,square_hole,round_hole,round_peg,screw_side_front,screw_top,screw_bottom_front);
|
||||
|
||||
translate([25,1.5,0]) {
|
||||
intersection(){
|
||||
translate([-5,-5,0]){
|
||||
difference() {
|
||||
mesh(7, 5, 5, 5);
|
||||
translate([16,9.5,0]){cylinder(50,4.5,4.5);}
|
||||
translate([16,25.5,0]){cylinder(50,4.5,4.5);}
|
||||
translate([99,9.5,0]){cylinder(50,4.5,4.5);}
|
||||
translate([99,25.5,0]){cylinder(50,4.5,4.5);}
|
||||
}
|
||||
}
|
||||
union() {
|
||||
cube([105,25,10]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
66418
RackCabinets/Mesh/RPi3_Frontplate.stl
Normal file
66418
RackCabinets/Mesh/RPi3_Frontplate.stl
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user