From c2dad51f454d82ec10f301e79f3f9f548525dd27 Mon Sep 17 00:00:00 2001 From: DJ Sundog Date: Fri, 10 Jul 2020 18:08:30 -0700 Subject: [PATCH] more hacky work on the case in openscad - now it's hollow and translucent --- soundslab_10000_v1.scad | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/soundslab_10000_v1.scad b/soundslab_10000_v1.scad index 0d0ca25..3690bdb 100644 --- a/soundslab_10000_v1.scad +++ b/soundslab_10000_v1.scad @@ -17,18 +17,35 @@ lcd_height = 23.4; lcd_depth = 6; // how far to recess from top surface of case // build + difference() { // case - roundedcube( - [ - battery_width + 1, - battery_length + 1, - depth_of_circuit_boards + battery_depth + 2 - ], - false, - 5 - ); - + color("white", 0.4) { + roundedcube( + [ + battery_width + 1, + battery_length + 1, + depth_of_circuit_boards + battery_depth + 2 + ], + false, + 5 + ); + } + // hollow out the case leaving 1mm thick shell + translate([1, 1, 1]) { + color("white", 0.0) { + roundedcube( + [ + battery_width - 1, + battery_length - 1, + depth_of_circuit_boards + battery_depth + ], + false, + 5 + ); + } + } + // active area of the LCD screen is 23.4mm x 23.4mm according to http://www.lcdwiki.com/1.3inch_IPS_Module // lcd cutout translate ([