- removed sixth top hole from RaspberryPi3ModelBHifiBerry

This commit is contained in:
Andreas Schiweck 2019-06-17 22:05:36 +02:00
parent 451b87b5b9
commit 847e9ab988
2 changed files with 40 additions and 4 deletions

View File

@ -18,9 +18,11 @@ include<../sixinch_library.scad>
print_frontplate_sml = false;
print_handle_sml = false;
print_cabinet_sml = false;
print_cabinet_sml = true;
print_lid = false;
print_rear = true;
print_rear = false;
remove = true;
if(print_frontplate_sml){ // Frontplate //
square_hole = [];

View File

@ -177,6 +177,11 @@ module cabinet (dp,u,screw_bottom_front,round_peg,screw_side_front){
module box(dp,u,screw_bottom_front,round_peg,screw_side_front){
difference(){
union() {
difference(){
translate([20,0,gauge]){
difference(){
@ -247,6 +252,33 @@ module box(dp,u,screw_bottom_front,round_peg,screw_side_front){
}
}
}
}
translate([20+gauge_box,0,gauge]){
if(len(round_peg)>0){
for(i=[0:len(round_peg)-1]){
x = round_peg[i][0];
y = round_peg[i][1];
od = round_peg[i][2];
id = round_peg[i][3];
he = round_peg[i][4];
translate([x,5,y]){
color("red") {
rotate([90, 0, 0]) {
cylinder(h=4,r=1.5);
}
}
}
}
}
}
}
}
@ -286,8 +318,10 @@ module lid(dp,u,screw_front,screw_back){
translate([sixinch-20-gauge_box-4,unit*u +0.01 ,gauge+dp-10-10+10-5]){rotate([90,0,0]){screw();}}
if(dp>90){
translate([sixinch-20-gauge_box-4,unit*u+0.01 ,gauge+dp/2-5+10-5]){rotate([90,0,0]){screw();}}
if(!remove){
translate([20+gauge_box+4,unit*u+0.01 ,gauge+dp/2-5+5]){rotate([90,0,0]){screw();}}
}
}
chimney();