n28 enclosure: decreased height by 1mm, increased ridge depth and height
This commit is contained in:
@@ -2,7 +2,7 @@ $fn = 50;
|
|||||||
|
|
||||||
width = 23;
|
width = 23;
|
||||||
length = 119;
|
length = 119;
|
||||||
height = 21;
|
height = 20;
|
||||||
|
|
||||||
corner_radius = 2;
|
corner_radius = 2;
|
||||||
wall_thickness = 1.5;
|
wall_thickness = 1.5;
|
||||||
@@ -16,12 +16,13 @@ lid_tolerance = .3;
|
|||||||
|
|
||||||
hook_height = 1;
|
hook_height = 1;
|
||||||
hook_tolerance = 0.75;
|
hook_tolerance = 0.75;
|
||||||
|
hook_slit_height = 2.5;
|
||||||
|
|
||||||
airslit_height = 1.75;
|
airslit_height = 1.75;
|
||||||
|
|
||||||
ridge_height = 16;
|
ridge_height = 16.5;
|
||||||
ridge_width = 1;
|
ridge_width = 1;
|
||||||
|
ridge_depth = 2.5;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -129,24 +130,24 @@ union() {
|
|||||||
|
|
||||||
// ridges to hold the pcb
|
// ridges to hold the pcb
|
||||||
translate([(width/2)-wall_thickness, 0, ridge_height/2+(height-ridge_height)])
|
translate([(width/2)-wall_thickness, 0, ridge_height/2+(height-ridge_height)])
|
||||||
cube([ridge_width, ridge_width, ridge_height], center=true);
|
cube([ridge_depth, ridge_width, ridge_height], center=true);
|
||||||
|
|
||||||
translate([-((width/2)-wall_thickness),
|
translate([-((width/2)-wall_thickness),
|
||||||
length/8,
|
length/8,
|
||||||
ridge_height/2+(height-ridge_height)])
|
ridge_height/2+(height-ridge_height)])
|
||||||
cube([ridge_width, ridge_width, ridge_height], center=true);
|
cube([ridge_depth, ridge_width, ridge_height], center=true);
|
||||||
|
|
||||||
translate([-((width/2)-wall_thickness),
|
translate([-((width/2)-wall_thickness),
|
||||||
-length/8,
|
-length/8,
|
||||||
ridge_height/2+(height-ridge_height)])
|
ridge_height/2+(height-ridge_height)])
|
||||||
cube([ridge_width, ridge_width, ridge_height], center=true);
|
cube([ridge_depth, ridge_width, ridge_height], center=true);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* lid */
|
/* lid */
|
||||||
translate([0, 0, 50]) { /* match at Z=17.5, otherwise 50*/
|
translate([0, 0, 50]) { /* match at Z=16.5, otherwise 50*/
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
difference() {
|
difference() {
|
||||||
@@ -171,26 +172,26 @@ translate([0, 0, 50]) { /* match at Z=17.5, otherwise 50*/
|
|||||||
// slits for hooks (upward facing side)
|
// slits for hooks (upward facing side)
|
||||||
translate([-((width/2)+wall_thickness/2),
|
translate([-((width/2)+wall_thickness/2),
|
||||||
length/8,
|
length/8,
|
||||||
lid_height-((hook_height+hook_tolerance)/2)])
|
lid_height-((hook_slit_height)/2)])
|
||||||
cube([4, 9, hook_height+hook_tolerance], center=true);
|
cube([4, 9, hook_slit_height], center=true);
|
||||||
translate([-((width/2)+wall_thickness/2),
|
translate([-((width/2)+wall_thickness/2),
|
||||||
-length/8,
|
-length/8,
|
||||||
lid_height-((hook_height+hook_tolerance)/2)])
|
lid_height-((hook_slit_height)/2)])
|
||||||
cube([4, 9, hook_height+hook_tolerance], center=true);
|
cube([4, 9, hook_slit_height], center=true);
|
||||||
|
|
||||||
// slits for hooks (downward facing side)
|
// slits for hooks (downward facing side)
|
||||||
translate([(width/2)+(wall_thickness/2),
|
translate([(width/2)+(wall_thickness/2),
|
||||||
0,
|
0,
|
||||||
lid_height-((hook_height+hook_tolerance)/2)])
|
lid_height-((hook_slit_height)/2)])
|
||||||
cube([4, 9, hook_height+hook_tolerance], center=true);
|
cube([4, 9, hook_slit_height], center=true);
|
||||||
translate([(width/2)+(wall_thickness/2),
|
translate([(width/2)+(wall_thickness/2),
|
||||||
length/4,
|
length/4,
|
||||||
lid_height-((hook_height+hook_tolerance)/2)])
|
lid_height-((hook_slit_height)/2)])
|
||||||
cube([4, 9, hook_height+hook_tolerance], center=true);
|
cube([4, 9, hook_slit_height], center=true);
|
||||||
translate([(width/2)+(wall_thickness/2),
|
translate([(width/2)+(wall_thickness/2),
|
||||||
-(length/4),
|
-(length/4),
|
||||||
lid_height-((hook_height+hook_tolerance)/2)])
|
lid_height-((hook_slit_height)/2)])
|
||||||
cube([4, 9, hook_height+hook_tolerance], center=true);
|
cube([4, 9, hook_slit_height], center=true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user