Added RPi mesh frontplate

This commit is contained in:
pgrondek 2020-01-24 22:49:36 +01:00
parent 0781677f52
commit c3cd46e8ca
3 changed files with 66485 additions and 0 deletions

26
Libs/Mesh-lib.scad Normal file
View 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);
}
*/

View 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]);
}
}
}
}
}

File diff suppressed because it is too large Load Diff