diff --git a/sbc_case_builder.cfg b/sbc_case_builder.cfg index 3a97f8e..0f531f6 100644 --- a/sbc_case_builder.cfg +++ b/sbc_case_builder.cfg @@ -38,7 +38,7 @@ corner of component or opening, holes measured to center. All measurements in mm. PCB orientation is long side of board along the x axis. - SBC: "c1+","c2","c4","xu4","xu4q","mc1","hc1","n1","n2","n2+",m1,"h2",hc4,rockpro64,jetsonnano + SBC: "c1+","c2","c4","xu4","xu4q","mc1","hc1","n1","n2","n2+","m1","h2","hc4","rockpro64","jetsonnano" schema: "case_name","sbc_model","case_design","case_style", diff --git a/sbc_case_builder.json b/sbc_case_builder.json new file mode 100644 index 0000000..5fc8e76 --- /dev/null +++ b/sbc_case_builder.json @@ -0,0 +1,54 @@ +{ + "parameterSets": { + "c4_shell": { + "$fn": "90", + "adjust": "0.01", + "bottom_ext_standoff": "[6.75, 5, 3.6, 10, 4, 1, 0, 0, 0, 4.5, 5.1]", + "bottom_standoff": "[6.75, 8, 3.6, 10, 4, 1, 0, 0, 0, 4.5, 5.1]", + "c_fillet": "3", + "case_design": "shell", + "case_ext_standoffs": "false", + "case_ffn": "90", + "case_fn": "360", + "case_name": "c4_shell", + "case_offset_bz": "0", + "case_offset_tz": "0", + "case_offset_x": "0", + "case_offset_y": "0", + "case_style": "none", + "cooling": "fan", + "exhaust_vents": "vent", + "fillet": "0", + "floorthick": "2", + "gap": "1", + "gpio_opening": "none", + "highlight": "false", + "indents": "true", + "lip": "5", + "lower_bottom": "0", + "mode": "none", + "move_front": "0", + "move_leftside": "0", + "move_rear": "0", + "move_rightside": "0", + "pcb_loc_x": "0", + "pcb_loc_y": "0", + "pcb_loc_z": "0", + "raise_top": "0", + "sata_punchout": "false", + "sbc_bottom_standoffs": "true", + "sbc_model": "c4", + "sbc_off": "false", + "sbc_top_standoffs": "true", + "sidethick": "2", + "sidewall_support": "true", + "tol": "0.25", + "top_ext_standoff": "[6.75, 18, 2.5, 10, 4, 4, 0, 1, 0, 4.5, 5.1]", + "top_standoff": "[6.75, 18, 2.5, 10, 4, 4, 0, 1, 0, 4.5, 5.1]", + "view": "model", + "vu_rotation": "[15, 0, 0]", + "wallthick": "2" + } + }, + "fileFormatVersion": "1" +} diff --git a/sbc_case_builder.scad b/sbc_case_builder.scad index a348637..e0e32ac 100644 --- a/sbc_case_builder.scad +++ b/sbc_case_builder.scad @@ -53,17 +53,17 @@ highlight = false; // sbc off in model view (true or false) sbc_off = false; // raises top mm in model view or < 0 = off -raise_top = 0; +raise_top = 0; // [-1:100] // lowers bottom mm in model view or < 0 = off -lower_bottom = 0; +lower_bottom = 0; // [-1:100] // move left side mm in model view or < 0 = off -move_leftside = 0; +move_leftside = 0; // [-1:100] // move right side mm in model view or < 0 = off -move_rightside = 0; +move_rightside = 0; // [-1:100] // move front mm in model view or < 0 = off -move_front = 0; +move_front = 0; // [-1:100] // move rear mm in model view or < 0 = off -move_rear = 0; +move_rear = 0; // [-1:100] /* [Case Adjustments] */ // base case design @@ -71,34 +71,34 @@ case_design = "shell"; // ["shell","panel","stacked","tray","round","hex","snap" // base case style case_style = "none"; // ["none","vu5","vu7","sides"] // single board computer model -sbc_model = "c4"; // ["c1+","c2","c4","hc4","xu4","xu4q","mc1","hc1","n1","n2","n2+","h2"] +sbc_model = "c4"; // ["c1+","c2","c4","xu4","xu4q","mc1","hc1","hc4","n1","n2","n2+","h2","rpi3b+","a64","rock64","rockpro64","atomicpi","jetsonnano","show2"] // sbc location x axis -pcb_loc_x = 0; +pcb_loc_x = 0; //[0:.5:200] // sbc location y axis -pcb_loc_y = 0; +pcb_loc_y = 0; //[0:.5:200] // sbc location z axis -pcb_loc_z = 0; +pcb_loc_z = 0; //[0:.25:50] // additional x axis case size -case_offset_x = 0; +case_offset_x = 0; //[0:.5:200] // additional y axis case size -case_offset_y = 0; +case_offset_y = 0; //[0:.5:200] // additional z axis case bottom size -case_offset_tz = 0; +case_offset_tz = 0; //[0:.5:50] // additional z axis case top size -case_offset_bz = 0; +case_offset_bz = 0; //[0:.5:50] // case wall thickness -wallthick = 2; +wallthick = 2; //[1:.5:5] // case floor thickness -floorthick = 2; +floorthick = 2; //[1:.5:5] // case side thickness -sidethick = 2; +sidethick = 2; //[1:.5:5] // distance between pcb and case -gap = 1; +gap = 1; //[.5:.5:5] // corner fillets -c_fillet = 3; +c_fillet = 3; //[0:.5:9] // edge fillets -fillet = 0; +fillet = 0; //[0:.5:6] // enable indentations around io openings indents = true; // enable wall support for standoffs