From 36e6538090f8ca9825df048c99ecaa1cb663a0b7 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Sun, 15 Jan 2023 14:52:00 +0800 Subject: [PATCH 1/2] add licheerv+dock to model selection Signed-off-by: Icenowy Zheng --- sbc_case_builder.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbc_case_builder.scad b/sbc_case_builder.scad index d007d81..d8e3104 100644 --- a/sbc_case_builder.scad +++ b/sbc_case_builder.scad @@ -85,7 +85,7 @@ case_design = "shell"; // [shell,panel,stacked,tray,round,hex,snap,fitted] // base case style case_style = "none"; // ["none","vu5","vu7","sides"] // single board computer model -sbc_model = "c1+"; // ["c1+", "c2", "c4", "xu4", "xu4q", "mc1", "hc1", "n1", "n2", "n2+", "n2+_noheatsink", "n2l", "n2lq", "m1", "m1_noheatsink", "h2", "h3", "hc4", "show2", "rpizero", "rpizero2w", "rpi1a+", "rpi1b+", "rpi3a+", "rpi3b", "rpi3b+", "rpi4b", "a64", "rock64", "rockpro64", "quartz64a", "quartz64b", "h64b", "atomicpi", "jetsonnano", "rockpi4b+", "rockpi4c", "rockpi4c+", "rockpi5b", "vim1", "vim2", "vim3", "vim3l", "vim4", "tinkerboard", "tinkerboard-s", "tinkerboard-2", "tinkerboard-r2", "opizero", "opizero2", "opir1plus_lts"] +sbc_model = "c1+"; // ["c1+", "c2", "c4", "xu4", "xu4q", "mc1", "hc1", "n1", "n2", "n2+", "n2+_noheatsink", "n2l", "n2lq", "m1", "m1_noheatsink", "h2", "h3", "hc4", "show2", "rpizero", "rpizero2w", "rpi1a+", "rpi1b+", "rpi3a+", "rpi3b", "rpi3b+", "rpi4b", "a64", "rock64", "rockpro64", "quartz64a", "quartz64b", "h64b", "atomicpi", "jetsonnano", "rockpi4b+", "rockpi4c", "rockpi4c+", "rockpi5b", "vim1", "vim2", "vim3", "vim3l", "vim4", "tinkerboard", "tinkerboard-s", "tinkerboard-2", "tinkerboard-r2", "opizero", "opizero2", "opir1plus_lts", "licheerv+dock"] // sbc location x axis pcb_loc_x = 0; //[0:.5:300] // sbc location y axis From c0da9dc72741718b3dc28a11174a284f74e551f6 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Sun, 15 Jan 2023 14:52:10 +0800 Subject: [PATCH 2/2] 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)