Add buttons to case
This commit is contained in:
parent
34b1613778
commit
f5458ba8f1
|
@ -6,6 +6,7 @@ Z = 30;
|
||||||
|
|
||||||
USB = -30;
|
USB = -30;
|
||||||
L289N = 10;
|
L289N = 10;
|
||||||
|
ButtonD = 7.2;
|
||||||
|
|
||||||
module l289N_holes (r = 3/2 - .2, MOD_MOUNT = 0) {
|
module l289N_holes (r = 3/2 - .2, MOD_MOUNT = 0) {
|
||||||
$fn = 60;
|
$fn = 60;
|
||||||
|
@ -92,6 +93,8 @@ module case_top () {
|
||||||
difference () {
|
difference () {
|
||||||
rounded_cube([X, Y, 3], d = 10, center = true, $fn = 40);
|
rounded_cube([X, Y, 3], d = 10, center = true, $fn = 40);
|
||||||
translate([-2, 0, 0]) cube([24, 27, 20], center = true);
|
translate([-2, 0, 0]) cube([24, 27, 20], center = true);
|
||||||
|
translate([35, 18, 0]) cylinder(r = R(ButtonD), h = 10, center = true, $fn = 40);
|
||||||
|
translate([35, -18, 0]) cylinder(r = R(ButtonD), h = 10, center = true, $fn = 40);
|
||||||
}
|
}
|
||||||
translate([0, 0, -2.9]) difference () {
|
translate([0, 0, -2.9]) difference () {
|
||||||
rounded_cube([X - 5, Y - 5, 3], d = 7, center = true, $fn = 40);
|
rounded_cube([X - 5, Y - 5, 3], d = 7, center = true, $fn = 40);
|
||||||
|
@ -100,4 +103,5 @@ module case_top () {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case_top();
|
case_top();
|
||||||
|
//case_bottom();
|
Loading…
Reference in New Issue