From 0edcc7aefd6054b52d29129791dcce2a2b116138 Mon Sep 17 00:00:00 2001 From: Correl Date: Thu, 5 Oct 2023 18:51:33 -0400 Subject: [PATCH] Add a usb cord cutout --- openscad/enclosure.scad | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openscad/enclosure.scad b/openscad/enclosure.scad index 8e0bf3e..21b448b 100644 --- a/openscad/enclosure.scad +++ b/openscad/enclosure.scad @@ -83,10 +83,15 @@ module case() { translate([case_thickness,case_thickness, case_thickness]) { cube([case.x, case.y, case.z + 1]); } + translate([case.x + case_thickness * 1.5, + case.y / 2 + case_thickness, + case_thickness + (usb_thickness / 2)]) + rotate([90,0,90]) + slot(l=12, d=7, h=case_thickness * 2); } // Wemos D1 Mini clip - color("red") + color("red", 0.1) translate([case_thickness + case.x - wemos_d1_mini.y, case_thickness + ((case.y - (wemos_d1_mini.x + 4)) / 2), case_thickness]) { @@ -106,9 +111,6 @@ module case() { } translate([-3,wemos_d1_mini.x / 2 - 3]) cube([2,9,wemos_d1_mini.z - esp_thickness]); - // translate([case.x - wemos_d1_mini.y - 6, case.y / 2 - 2.5]) - // cube([5,5, case.z - plate_depth]); - } // Supports