adjusted io shield opening, moved access panel in platter view and cleaned up accessory entries.
This commit is contained in:
@@ -460,16 +460,16 @@ echo(pcb_depth+case_offset_y-10);
|
||||
// rear io shield opening for standard form motherboards
|
||||
if(rear_io_shield == true) {
|
||||
if(sbc_model == "mini-stx_thin") {
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.4+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 25]);
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.65+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 25]);
|
||||
}
|
||||
if(sbc_model == "mini-stx") {
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.4+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 40]);
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.65+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 40]);
|
||||
}
|
||||
if(sbc_model == "mini-itx_thin") {
|
||||
translate([-2.62+pcb_loc_x,-4.5,-2+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 25]);
|
||||
translate([-2.62+pcb_loc_x,-4.5,-2.25+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 25]);
|
||||
}
|
||||
if(sbc_model != "mini-stx_thin" && sbc_model != "mini-stx" && sbc_model != "mini-itx_thin") {
|
||||
translate([-2.62+pcb_loc_x,-4.5,-2+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 44]);
|
||||
translate([-2.62+pcb_loc_x,-4.5,-2.25+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 44]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -382,16 +382,16 @@ module case_top(case_design) {
|
||||
// rear io shield opening for standard form motherboards
|
||||
if(rear_io_shield == true) {
|
||||
if(sbc_model == "mini-stx_thin") {
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.4+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 25]);
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.15+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 25]);
|
||||
}
|
||||
if(sbc_model == "mini-stx") {
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.4+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 40]);
|
||||
translate([6.2+pcb_loc_x,-4.5,-4.15+bottom_height-pcb_z+pcb_loc_z]) cube([123.95, 10+pcb_loc_y, 40]);
|
||||
}
|
||||
if(sbc_model == "mini-itx_thin") {
|
||||
translate([-2.62+pcb_loc_x,-4.5,-2+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 25]);
|
||||
translate([-2.62+pcb_loc_x,-4.5,-1.75+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 25]);
|
||||
}
|
||||
if(sbc_model != "mini-stx_thin" && sbc_model != "mini-stx" && sbc_model != "mini-itx_thin") {
|
||||
translate([-2.62+pcb_loc_x,-4.5,-2+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 44]);
|
||||
translate([-2.62+pcb_loc_x,-4.5,-1.75+bottom_height-pcb_z+pcb_loc_z]) cube([158.75, 10+pcb_loc_y, 44]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,7 @@ include <./sbc_case_builder_accessories.cfg>;
|
||||
view = "model"; // [model, platter, part]
|
||||
individual_part = "bottom"; // [top, bottom, right, left, front, rear, io_shield, accessories]
|
||||
// single board computer model
|
||||
sbc_model = "c1+"; // ["c1+", "c2", "c4", "hc4", "xu4", "xu4q", "mc1", "hc1", "n1", "n2", "n2+", "n2l", "n2lq", "m1", "m1s", "h2", "h2+", "h3", "h3+", "show2", "rpipico", "rpipicow", "rpicm4+ioboard", "rpicm1", "rpicm3", "rpicm3l", "rpicm3+", "rpicm4s", "rpicm4", "rpicm4l", "rpizero", "rpizerow", "rpizero2w", "rpi1a+", "rpi1b+", "rpi2b", "rpi3a+", "rpi3b", "rpi3b+", "rpi4b", "rpi5", "rock64", "rockpro64", "quartz64a", "quartz64b", "h64b", "star64", "rock4a", "rock4b", "rock4a+", "rock4b+", "rock4c", "rock4c+", "rock5b-v1.3", "rock5b", "rock5bq", "nio12", "vim1", "vim2", "vim3", "vim3l", "vim4", "tinkerboard", "tinkerboard-s", "tinkerboard-2", "tinkerboard-2s", "tinkerboard-r2", "tinkerboard-r2s", "opizero", "opizero2", "opir1plus_lts", "opir1", "opi5", "jetsonnano", "lepotato", "sweetpotato", "tritium-h2+", "tritium-h3", "tritium-h5", "solitude", "alta", "atomicpi", "visionfive2", "visionfive2q", "licheerv+dock", "rak19007", "ssi-eeb", "ssi-ceb", "atx", "micro-atx", "dtx", "flex-atx", "mini-dtx", "mini-itx", "mini-itx_thin", "mini-stx", "mini-stx_thin", "nano-itx", "nuc", "pico-itx"]
|
||||
sbc_model = "c1+"; // ["c1+", "c2", "c4", "hc4", "xu4", "xu4q", "mc1", "hc1", "n1", "n2", "n2+", "n2l", "n2lq", "m1", "m1s", "h2", "h2+", "h3", "h3+", "h4", "show2", "rpipico", "rpipicow", "rpicm4+ioboard", "rpicm1", "rpicm3", "rpicm3l", "rpicm3+", "rpicm4s", "rpicm4", "rpicm4l", "rpizero", "rpizerow", "rpizero2w", "rpi1a+", "rpi1b+", "rpi2b", "rpi3a+", "rpi3b", "rpi3b+", "rpi4b", "rpi5", "rock64", "rockpro64", "quartz64a", "quartz64b", "h64b", "star64", "rock4a", "rock4b", "rock4a+", "rock4b+", "rock4c", "rock4c+", "rock5b-v1.3", "rock5b", "rock5bq", "nio12l", "vim1", "vim2", "vim3", "vim3l", "vim4", "tinkerboard", "tinkerboard-s", "tinkerboard-2", "tinkerboard-2s", "tinkerboard-r2", "tinkerboard-r2s", "opizero", "opizero2", "opir1plus_lts", "opir1", "opi5", "jetsonnano", "lepotato", "sweetpotato", "tritium-h2+", "tritium-h3", "tritium-h5", "solitude", "alta", "atomicpi", "visionfive2", "visionfive2q", "licheerv+dock", "rak19007", "ssi-eeb", "ssi-ceb", "atx", "micro-atx", "dtx", "flex-atx", "mini-dtx", "mini-itx", "mini-itx_thin", "mini-stx", "mini-stx_thin", "nano-itx", "nuc", "pico-itx"]
|
||||
|
||||
// sbc off in model view
|
||||
sbc_off = false;
|
||||
@@ -197,7 +197,7 @@ uart_opening = "default"; // [default,none,open,knockout]
|
||||
// enable indentations around io openings
|
||||
indents = true;
|
||||
// case accessory group to load
|
||||
accessory_name = "none"; // ["none", "hk_uart", "sensors", "c4_shell_boombox", "c4_desktop_lcd3.5", "c4_deskboom_lcd3.5", "c4_panel_boombox", "c4_panel_lcd3.5", "c4_tray_boombox", "c4_round", "c4_hex", "xu4_keyhole", "hc4_tray_drivebox2.5", "hc4_shell_drivebox2.5", "hc4_shell_drivebox2.5v", "hc4_shell_drivebox3.5", "m1s_shell_nvme", "m1s_shell_ups", "m1s_tray_nvme", "m1_tray_ssd", "m1_fitted_pizzabox2.5", "m1_fitted_pizzabox3.5", "h3_shell", "h3_shell_router", "h3_lowboy", "h3_lowboy_router", "h3_ultimate", "h3_ultimate2", "show2_shell", "jetsonnano_shell", "jetsonnano_panel", "jetsonnano_stacked", "jetsonnano_tray", "jetsonnano_tray_sides", "rock5b", "visionfive2_shell", "visionfive2_stacked", "visionfive2_tray", "adapter_mini-stx_m1s"]
|
||||
accessory_name = "none"; // ["none", "hk_uart", "c4_shell_boombox", "c4_desktop_lcd3.5", "c4_deskboom_lcd3.5", "c4_panel_boombox", "c4_panel_lcd3.5", "c4_tray_boombox", "c4_round", "c4_hex", "xu4_keyhole", "hc4_shell_drivebox2.5", "hc4_shell_drivebox2.5v", "hc4_shell_drivebox3.5", "hc4_tray_drivebox2.5", "m1s_shell_nvme", "m1s_shell_ups", "m1s_tray_nvme", "m1_tray_ssd", "m1_fitted_pizzabox2.5", "m1_fitted_pizzabox3.5", "h3_shell", "h3_shell_router", "h3_lowboy", "h3_lowboy_router", "h3_ultimate", "h3_ultimate2", "show2_shell", "adapter_mini-stx_m1s"]
|
||||
// sbc information text color
|
||||
text_color = "Green"; // [Green, Black, Dimgrey, White, Yellow, Orange, Red, DarkbBlue]
|
||||
// sbc information text font
|
||||
@@ -405,19 +405,7 @@ if (view == "platter") {
|
||||
// ui access panel
|
||||
if(bottom_access_panel_enable == true) {
|
||||
if(access_panel_rotation == 0) {
|
||||
translate([access_panel_location[0],access_panel_location[1], 0]) rotate([0,0,access_panel_rotation])
|
||||
access_cover([access_panel_size[0],access_panel_size[1],floorthick], access_panel_orientation);
|
||||
}
|
||||
if(access_panel_rotation == 90) {
|
||||
translate([access_panel_location[0]+access_panel_size[1],access_panel_location[1], 0]) rotate([0,0,access_panel_rotation])
|
||||
access_cover([access_panel_size[0],access_panel_size[1],floorthick], access_panel_orientation);
|
||||
}
|
||||
if(access_panel_rotation == 180) {
|
||||
translate([access_panel_location[0]+access_panel_size[0],access_panel_location[1]+access_panel_size[1],0]) rotate([0,0,access_panel_rotation])
|
||||
access_cover([access_panel_size[0],access_panel_size[1],floorthick], access_panel_orientation);
|
||||
}
|
||||
if(access_panel_rotation == 270) {
|
||||
translate([access_panel_location[0],access_panel_location[1]+access_panel_size[0], 0]) rotate([0,0,access_panel_rotation])
|
||||
translate([0,-1.25*depth, 0]) rotate([0,0,access_panel_rotation])
|
||||
access_cover([access_panel_size[0],access_panel_size[1],floorthick], access_panel_orientation);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,24 +85,6 @@ accessory_data = [
|
||||
"model","hk_uart_strap",-25,0,2,"bottom",[0,0,0],["sbc",true,false,false],[0,0,0],[0],[false,10,2,"default"],
|
||||
"platter","hk_uart_strap",-35,75,-9,"bottom",[0,0,0],["case",false,false,false],[0,0,0],[0],[false,10,2,"default"]],
|
||||
|
||||
// sensor group
|
||||
["sensors",
|
||||
"add1","rectangle",-1,57,0,"bottom",[0,0,0],["case",false,false,false],[71,2,10.25],[[.1,.1,.1,.1]],[false,10,2,"default"],
|
||||
"-model","stl_model",38,100,2,"bottom",[0,0,270],["sbc",false,false,false],[0,0,0],[1,"./adafruit/5625 Stemma 5 Port Hub.stl"],[true,10,2,"default"],
|
||||
"-model","stl_model",38,106,22,"bottom",[90,180,180],["sbc",false,false,false],[0,0,0],[1,"./adafruit/3966 BMP388 QT.stl"],[true,10,2,"default"],
|
||||
"-model","stl_model",26,60,25,"bottom",[0,0,90],["sbc",false,false,false],[0,0,0],[1,"./adafruit/4867 Adafruit SCD30.stl"],[true,10,2,"default"],
|
||||
"model","stl_model",31,60.75,4,"bottom",[90,0,180],["sbc",false,false,false],[0,0,0],[1,"./adafruit/5625 Stemma 5 Port Hub.stl"],[true,10,2,"default"],
|
||||
"add2","pcb_holder",5,60.75,1,"bottom",[0,0,0],["case",false,false,false],[26.5,35,1.65],[2],[false,10,2,"default"],
|
||||
"model","stl_model",38,121,22,"bottom",[90,180,90],["sbc",false,false,false],[0,0,0],[1,"./adafruit/3966 BMP388 QT.stl",0,0],[false,10,2,"default"],
|
||||
"add2","pcb_holder",39.5,95,1,"bottom",[0,0,90],["case",false,false,false],[26.5,35,1.65],[2],[false,10,2,"default"],
|
||||
"add2","pcb_holder",39.5,61,0,"bottom",[0,0,90],["case",false,false,false],[26.5,35,1.65],[2],[false,10,2,"default"],
|
||||
"model","stl_model",55,69,27,"bottom",[270,0,90],["sbc",false,false,false],[0,0,0],[1,"./adafruit/4867 Adafruit SCD30.stl"],[true,10,2,"default"],
|
||||
"add2","pcb_holder",55,68,1,"bottom",[0,0,90],["case",false,false,false],[53,35,1.65],[2],[false,10,2,"default"],
|
||||
"-model","stl_model",68,97,2,"bottom",[90,0,270],["sbc",false,false,false],[0,0,0],[1,"./adafruit/938 Mono 128x64 OLED Stemma.stl"],[true,10,2,"default"],
|
||||
"model","stl_model",67,61,4,"bottom",[90,270,270],["sbc",false,false,false],[0,0,0],[1,"./adafruit/4311 2in TFT IPS Display.stl"],[true,10,2,"default"],
|
||||
"add2","pcb_holder",65.4,121,1,"bottom",[0,0,270],["case",false,false,false],[61,35,1.65],[2],[false,10,2,"default"],
|
||||
"model","stl_model",0,70,3,"bottom",[0,0,0],["sbc",false,false,false],[0,0,0],[1,"./adafruit/4632 PMSA003I.stl"],[true,10,2,"default"]],
|
||||
|
||||
// Odroid-C4
|
||||
["c4_shell_boombox",
|
||||
"add2","pcb_holder",.75,51.1,1.99,"bottom",[0,0,0],["case",false,true,false],[123.5,35,1.6],[2],[false,10,2,"default"],
|
||||
@@ -441,55 +423,9 @@ accessory_data = [
|
||||
["show2_shell",
|
||||
"model","hk_wb2",6.25,24.675,16,"bottom",[0,0,180],["sbc",true,true,true],[0,0,0],[0],[false,10,2,"default"],
|
||||
"sub","rectangle",.5,8,8.5,"top",[0,0,0],["case",false,false,false],[6,16.5,8],[[.5,.5,.5,.5]],[false,10,2,"default"]],
|
||||
|
||||
|
||||
// Nvidia
|
||||
["jetsonnano_shell",
|
||||
"sub","rectangle",17.5,36.375,33,"top",[0,0,0],["sbc-case_z",true,true,true],[62,43,4],[[1,1,1,1]],[false,10,2,"default"]],
|
||||
|
||||
["jetsonnano_panel",
|
||||
"sub","rectangle",17.5,36.375,33,"top",[0,0,0],["sbc-case_z",true,true,true],[62,43,4],[[1,1,1,1]],[false,10,2,"default"]],
|
||||
|
||||
["jetsonnano_stacked",
|
||||
"sub","rectangle",17.5,36.375,33,"top",[0,0,0],["sbc-case_z",true,true,true],[62,43,4],[[1,1,1,1]],[false,10,2,"default"]],
|
||||
|
||||
["jetsonnano_tray",
|
||||
"sub","rectangle",17.5,36.375,33,"top",[0,0,0],["sbc-case_z",true,true,true],[62,43,8],[[1,1,1,1]],[false,10,2,"default"]],
|
||||
|
||||
["jetsonnano_tray_sides",
|
||||
"sub","rectangle",17.5,36.375,35,"top",[0,0,0],["sbc-case_z",true,true,true],[62,43,8],[[1,1,1,1]],[false,10,2,"default"]],
|
||||
|
||||
|
||||
// Radxa
|
||||
["rock5b",
|
||||
// UL standoff adjustment
|
||||
"sub","rectangle",-1,66.5,12.99,"top",[0,0,0],["sbc",true,true,true],[10,2,8],[[.25,.25,.25,.25]],[false,10,2,"default"],
|
||||
// LR standoff adjustment
|
||||
"sub","rectangle",92,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],[10,2,15],[[.25,.25,.25,.25]],[false,10,2,"default"],
|
||||
// LR standoff adjustment
|
||||
"sub","rectangle",93,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],[2,10,15],[[.25,.25,.25,.25]],[false,10,2,"default"]],
|
||||
|
||||
|
||||
// StarFive
|
||||
["visionfive2_shell",
|
||||
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],[10,10,15],[[1,1,1,1]],[false,10,2,"default"],
|
||||
"add1","round",11.25,-.5,12,"top",[0,0,0],["case",true,true,true],[2,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",29.75,-.5,12,"top",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",50,-.5,12,"top",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",60.875,-.5,12,"top",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",81.125,-.5,12,"top",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"]],
|
||||
|
||||
["visionfive2_stacked",
|
||||
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],[10,10,15],[[1,1,1,1]],[false,10,2,"default"]],
|
||||
|
||||
["visionfive2_tray",
|
||||
"add1","round",11.25,-.5,9,"bottom",[0,0,0],["case",true,true,true],[2,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",29.75,-.5,9,"bottom",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",50,-.5,9,"bottom",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",60.875,-.5,9,"bottom",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"],
|
||||
"add1","round",81.125,-.5,9,"bottom",[0,0,0],["case",true,true,true],[3,0,17],[0],[false,10,2,"default"]],
|
||||
|
||||
|
||||
// Standard Motherboard Cases
|
||||
["adapter_mini-stx_m1s",
|
||||
"add2","standoff",5,100,0,"bottom",[0,0,0],["sbc",false,false,false],[0,0,0],[["custom",5.75,5,3.6,10,4,"countersunk","hex",false,false,4.5,5.1]],[true,10,2,"default"],
|
||||
"add2","standoff",5,125,0,"bottom",[0,0,0],["sbc",false,false,false],[0,0,0],[["custom",5.75,5,3.6,10,4,"countersunk","hex",false,false,4.5,5.1]],[true,10,2,"default"],
|
||||
|
||||
Reference in New Issue
Block a user