added linear top and bottom vents and removed unused exhaust vent variable
This commit is contained in:
@@ -442,6 +442,19 @@ module case_bottom(case_design) {
|
||||
if(bottom_cover_pattern == "hex_8mm") {
|
||||
translate([1,2,-2]) vent_hex((width)/5.5,(depth)/9.5,floorthick+4,8,1.5,"horizontal");
|
||||
}
|
||||
if(bottom_cover_pattern == "linear_vertical") {
|
||||
translate([0,-gap,-2]) vent(wallthick,depth-2*wallthick-gap,floorthick+4,1,1,(width-2*wallthick-gap)/4,"horizontal");
|
||||
}
|
||||
if(bottom_cover_pattern == "linear_horizontal") {
|
||||
translate([-gap,-gap,-2]) vent(width-2*wallthick-gap,wallthick,floorthick+4,1,(depth-2*wallthick-gap)/3,1,"horizontal");
|
||||
}
|
||||
if(bottom_cover_pattern == "astroid") {
|
||||
for(c=[3:12:depth-8]) {
|
||||
for(r=[4:12:width-8]) {
|
||||
translate([r,c,-4]) linear_extrude(floorthick+5) import("./dxf/astroid_8mm.dxf");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// pcb standoffs
|
||||
|
||||
@@ -364,6 +364,12 @@ module case_top(case_design) {
|
||||
if(top_cover_pattern == "hex_8mm") {
|
||||
translate([1,2,case_z-2]) vent_hex((width)/5.5,(depth)/9.5,floorthick+4,8,1.5,"horizontal");
|
||||
}
|
||||
if(top_cover_pattern == "linear_vertical") {
|
||||
translate([0,-gap,case_z-2]) vent(wallthick,depth-2*wallthick-gap,floorthick+4,1,1,(width-2*wallthick-gap)/4,"horizontal");
|
||||
}
|
||||
if(top_cover_pattern == "linear_horizontal") {
|
||||
translate([-gap,-gap,case_z-2]) vent(width-2*wallthick-gap,wallthick,floorthick+4,1,(depth-2*wallthick-gap)/3,1,"horizontal");
|
||||
}
|
||||
if(top_cover_pattern == "astroid") {
|
||||
for(c=[3:12:depth-8]) {
|
||||
for(r=[4:12:width-8]) {
|
||||
|
||||
@@ -165,14 +165,12 @@ bottom_front_right_support = "front"; //[none,left,rear,front,right]
|
||||
|
||||
/* [Fan and Vent Openings] */
|
||||
// top cover pattern
|
||||
top_cover_pattern = "solid"; //[solid,hex_5mm,hex_8mm,deltoid,astroid,apollonian]
|
||||
top_cover_pattern = "solid"; //[solid,hex_5mm,hex_8mm,linear_vertical,linear_horizontal,astroid]
|
||||
// bottom cover pattern
|
||||
bottom_cover_pattern = "solid"; //[solid,hex_5mm,hex_8mm,deltoid,astroid,apollonian]
|
||||
bottom_cover_pattern = "solid"; //[solid,hex_5mm,hex_8mm,linear_vertical,linear_horizontal,astroid]
|
||||
// heatsink opening
|
||||
cooling = "default"; // [default,none,open,fan_open,fan_1,fan_2,fan_hex,vent,vent_hex_5mm,vent_hex_8mm,custom]
|
||||
fan_size = 0; // [0,30,40,50,60,70,80,92]
|
||||
// exhaust vent
|
||||
exhaust_vent = "none"; // [none,rear,front,right,left]
|
||||
|
||||
/* [Bottom Access Panel] */
|
||||
bottom_access_panel_enable = false;
|
||||
|
||||
Reference in New Issue
Block a user