From 0c32cdc5d6f2d65f2848fdb41dd269fbee8730dd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 17 Oct 2023 01:37:58 +0100 Subject: [PATCH] digispark-with-cable: from v1 Signed-off-by: Ian Jackson --- digispark-with-cable.scad | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 3a1a3ad..d13a15c 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -30,6 +30,8 @@ small_walls = [ [ [3.0, -11.72] ,[sw_to_edge, -13.38] ], [ [-sw_to_edge+3.85, -14.90], [sw_to_edge, -13.38] ], ]; +chip_cutout = [[ -sw_to_edge + 4.20, -4.50 ], + [ -sw_to_edge + 11.95, -11.90 ]]; module BothSides(){ for (m=[0,1]) { @@ -50,11 +52,14 @@ module TopSmallWallsPlan() { } } module TopCeilPlan() { - BothSides(){ - rectfromto([ -usb_w/2, -0.01 ], - [ 0.1, usb_tongue_d ]); - rectfromto([ -board_w/2 - side_wall_th, 0 ], - [ 0.1, ceil_y_min ]); + difference(){ + BothSides(){ + rectfromto([ -usb_w/2, -0.01 ], + [ 0.1, usb_tongue_d ]); + rectfromto([ -board_w/2 - side_wall_th, 0 ], + [ 0.1, ceil_y_min ]); + } + rectfromto(chip_cutout[0], chip_cutout[1]); } } module TopMainWallsPlan() { -- 2.30.2