From f5458ba8f1b41404f0968aa268dbeecf7df3c6bf Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Mon, 13 Feb 2023 00:09:26 -0500 Subject: [PATCH] Add buttons to case --- examples/JK_projector_takeup_case.scad | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/JK_projector_takeup_case.scad b/examples/JK_projector_takeup_case.scad index c3e2bbd..1c1a819 100644 --- a/examples/JK_projector_takeup_case.scad +++ b/examples/JK_projector_takeup_case.scad @@ -6,6 +6,7 @@ Z = 30; USB = -30; L289N = 10; +ButtonD = 7.2; module l289N_holes (r = 3/2 - .2, MOD_MOUNT = 0) { $fn = 60; @@ -92,6 +93,8 @@ module case_top () { difference () { rounded_cube([X, Y, 3], d = 10, center = true, $fn = 40); 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 () { rounded_cube([X - 5, Y - 5, 3], d = 7, center = true, $fn = 40); @@ -100,4 +103,5 @@ module case_top () { } -case_top(); \ No newline at end of file +case_top(); +//case_bottom(); \ No newline at end of file