From c0da9dc72741718b3dc28a11174a284f74e551f6 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Sun, 15 Jan 2023 14:52:10 +0800 Subject: [PATCH] add bigger usbc hole for LicheeRV + Dock Type-C This Type-C port is on SoM and behind the edge of the Dock. Signed-off-by: Icenowy Zheng --- sbc_case_builder_library.scad | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sbc_case_builder_library.scad b/sbc_case_builder_library.scad index 250de86..b369b86 100644 --- a/sbc_case_builder_library.scad +++ b/sbc_case_builder_library.scad @@ -3236,6 +3236,12 @@ module mask(loc_x,loc_y,loc_z,rotation,side,class,type,wallthick,gap,floorthick, place(loc_x+2,loc_y+1.5,loc_z-3.25,6,8,rotation,side) rotate([90,0,0]) slot(3.75,6,8); } + // single horizontal usbc opening, lifted and enlarged for Lichee RV SoM + // TODO: implement other directions + if(class == "usbc" && type == "single_horizontal_on_licheerv" && rotation == 0 && side == "top") { + place(loc_x+1.5,loc_y+2,loc_z+5.05,6,8,rotation,side) + rotate([90,0,0]) slot(6,8,10); + } // single vertical usbc opening if(class == "usbc" && type == "single_vertical" && rotation == 0 && side == "top") { place(loc_x+1.5,loc_y+2,loc_z+1.75,6,8,rotation,side)