Case for MKS - top part
This commit is contained in:
parent
39a87faed9
commit
924a0460c6
BIN
MKS Gen L v1.0/Case-Top.stl
Normal file
BIN
MKS Gen L v1.0/Case-Top.stl
Normal file
Binary file not shown.
@ -14,10 +14,8 @@ screw_size = height - thickness; // 10;
|
|||||||
//
|
//
|
||||||
$fn = 100;
|
$fn = 100;
|
||||||
|
|
||||||
//bottom_part();
|
|
||||||
|
|
||||||
top_part();
|
top_part();
|
||||||
|
bottom_part();
|
||||||
|
|
||||||
module bottom_part() {
|
module bottom_part() {
|
||||||
union() {
|
union() {
|
||||||
@ -38,14 +36,19 @@ module top_part() {
|
|||||||
translate([0, 0, height - thickness])
|
translate([0, 0, height - thickness])
|
||||||
cube([x, y, thickness]);
|
cube([x, y, thickness]);
|
||||||
|
|
||||||
|
// screw cutoffs
|
||||||
screw_cutoff();
|
screw_cutoff();
|
||||||
|
|
||||||
translate([x - 8, 0, 0])
|
translate([x - 8, 0, 0])
|
||||||
screw_cutoff();
|
screw_cutoff();
|
||||||
translate([0, y - 8, 0])
|
translate([0, y - 8, 0])
|
||||||
screw_cutoff();
|
screw_cutoff();
|
||||||
translate([x - 8, y - 8, 0])
|
translate([x - 8, y - 8, 0])
|
||||||
screw_cutoff();
|
screw_cutoff();
|
||||||
|
|
||||||
|
// grill
|
||||||
|
for (i = [0 : 5])
|
||||||
|
translate([40 + (6 * i), depth / 2.2, height - thickness * 1.5])
|
||||||
|
grill();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -161,3 +164,12 @@ module screw_cutoff() {
|
|||||||
translate([d, d, h - 2])
|
translate([d, d, h - 2])
|
||||||
cylinder(h = 2, d = 3);
|
cylinder(h = 2, d = 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module grill() {
|
||||||
|
d = 3;
|
||||||
|
hull() {
|
||||||
|
cylinder(h = thickness * 2, d = d);
|
||||||
|
translate([0, 30, 0])
|
||||||
|
cylinder(h = thickness * 2, d = d);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user