Add grill to MKS case
This commit is contained in:
parent
6372e994e5
commit
dee326e32e
3 changed files with 37 additions and 23 deletions
Binary file not shown.
Binary file not shown.
|
@ -22,11 +22,20 @@ $fn = 100;
|
|||
bottom_part();
|
||||
|
||||
module bottom_part() {
|
||||
difference() {
|
||||
union() {
|
||||
base();
|
||||
walls();
|
||||
screw_mounts();
|
||||
}
|
||||
grill = 33;
|
||||
for (i = [0 : 15]) {
|
||||
translate([40 + (6 * i), spacing_y + 5, - thickness * 0.5])
|
||||
grill(grill);
|
||||
translate([40 + (6 * i), depth - grill - spacing_y + 5, - thickness * 0.5])
|
||||
grill(grill);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module top_part() {
|
||||
|
@ -50,9 +59,14 @@ module top_part() {
|
|||
screw_cutoff();
|
||||
|
||||
// grill
|
||||
for (i = [0 : 5])
|
||||
translate([40 + (6 * i), depth / 2.2, height - thickness * 1.5])
|
||||
grill();
|
||||
grill = 33;
|
||||
for (i = [0 : 15]) {
|
||||
translate([40 + (6 * i), spacing_y + 5, height - thickness * 1.5])
|
||||
grill(grill);
|
||||
translate([40 + (6 * i), depth - grill - spacing_y + 5, height - thickness * 1.5])
|
||||
grill(grill);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -171,11 +185,11 @@ module screw_cutoff() {
|
|||
cylinder(h = 2, d = 3);
|
||||
}
|
||||
|
||||
module grill() {
|
||||
module grill(length = 30) {
|
||||
d = 3;
|
||||
hull() {
|
||||
cylinder(h = thickness * 2, d = d);
|
||||
translate([0, 30, 0])
|
||||
translate([0, length, 0])
|
||||
cylinder(h = thickness * 2, d = d);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue