n28: more ventilation slits, decrease height, remove posts.
This commit is contained in:
@@ -2,15 +2,15 @@ $fn = 50;
|
|||||||
|
|
||||||
width = 24;
|
width = 24;
|
||||||
length = 119;
|
length = 119;
|
||||||
height = 28;
|
height = 22;
|
||||||
|
|
||||||
corner_radius = 2;
|
corner_radius = 2;
|
||||||
wall_thickness = 2;
|
wall_thickness = 2;
|
||||||
post_diameter = 8;
|
post_diameter = 8;
|
||||||
post_height = 4;
|
post_height = 0;
|
||||||
|
|
||||||
hole_diameter = 3;
|
hole_diameter = 3;
|
||||||
lid_thickness = 2;
|
lid_thickness = 3;
|
||||||
lid_lip = 1 ;
|
lid_lip = 1 ;
|
||||||
lid_tolerance = .5;
|
lid_tolerance = .5;
|
||||||
|
|
||||||
@@ -63,46 +63,46 @@ difference() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ventilation slits left 1
|
// ventilation slits left 1
|
||||||
for(i = [(wall_thickness+post_height+2):4:(height-6)]) {
|
for(i = [(wall_thickness+post_height+3):4:(height-5)]) {
|
||||||
translate([(-width/2)-wall_thickness, (-length/2)+25, i])
|
translate([(-width/2)-wall_thickness, (-length/2)+25, i])
|
||||||
cube([10, length/4, 2], center=true);
|
cube([10, length/4, 2], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ventilation slits left 2
|
// ventilation slits left 2
|
||||||
for(i = [(wall_thickness+post_height+2):4:(height-6)]) {
|
for(i = [(wall_thickness+post_height+3):4:(height-5)]) {
|
||||||
translate([(-width/2)-wall_thickness, (length/2)-25, i])
|
translate([(-width/2)-wall_thickness, (length/2)-25, i])
|
||||||
cube([10, length/4, 2], center=true);
|
cube([10, length/4, 2], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ventilation slits right 1
|
// ventilation slits right 1
|
||||||
for(i = [(wall_thickness+post_height+2):4:(height-6)]) {
|
for(i = [(wall_thickness+post_height+3):4:(height-5)]) {
|
||||||
translate([(width/2)-wall_thickness, (-length/2)+25, i])
|
translate([(width/2)-wall_thickness, (-length/2)+25, i])
|
||||||
cube([10, length/4, 2], center=true);
|
cube([10, length/4, 2], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ventilation slits right 2
|
// ventilation slits right 2
|
||||||
for(i = [(wall_thickness+post_height+2):4:(height-6)]) {
|
for(i = [(wall_thickness+post_height+3):4:(height-5)]) {
|
||||||
translate([(width/2)-wall_thickness, (length/2)-25, i])
|
translate([(width/2)-wall_thickness, (length/2)-25, i])
|
||||||
cube([10, length/4, 2], center=true);
|
cube([10, length/4, 2], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// network connector hole 1
|
// network connector hole 1
|
||||||
translate([0, (length/2), post_height+wall_thickness+2+8])
|
translate([0, (length/2), wall_thickness+2+8])
|
||||||
cube([17, 21, 15], center=true);
|
cube([17, 6, 16], center=true);
|
||||||
|
|
||||||
// network connector hole 2
|
// network connector hole 2
|
||||||
translate([0, (-length/2), post_height+wall_thickness+2+8])
|
translate([0, (-length/2), wall_thickness+2+8])
|
||||||
cube([17, 21, 15], center=true);
|
cube([17, 6, 16], center=true);
|
||||||
|
|
||||||
// sensor hole
|
// sensor hole
|
||||||
translate([(width/2), -7, post_height+wall_thickness+2+8])
|
translate([(width/2), -7, wall_thickness+2+6])
|
||||||
cube([5, 10, 7], center=true);
|
cube([5, 10, 7], center=true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// support posts for pcb
|
// support posts for pcb
|
||||||
difference() {
|
/*difference() {
|
||||||
translate([0, length/4, wall_thickness])
|
translate([0, length/4, wall_thickness])
|
||||||
cylinder(r = post_diameter/2, h = post_height);
|
cylinder(r = post_diameter/2, h = post_height);
|
||||||
|
|
||||||
@@ -118,3 +118,4 @@ difference() {
|
|||||||
translate([0, -length/4, wall_thickness])
|
translate([0, -length/4, wall_thickness])
|
||||||
cylinder(r = hole_diameter/2, h = post_height+3);
|
cylinder(r = hole_diameter/2, h = post_height+3);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
Reference in New Issue
Block a user