updated customizer and added json file

This commit is contained in:
Edward Kisiel
2022-07-29 23:46:44 -04:00
parent 0792cb7981
commit 3c8abbdcd8
3 changed files with 75 additions and 21 deletions

View File

@@ -38,7 +38,7 @@
corner of component or opening, holes measured to center. All measurements in mm. corner of component or opening, holes measured to center. All measurements in mm.
PCB orientation is long side of board along the x axis. 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: schema:
"case_name","sbc_model","case_design","case_style", "case_name","sbc_model","case_design","case_style",

54
sbc_case_builder.json Normal file
View File

@@ -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"
}

View File

@@ -53,17 +53,17 @@ highlight = false;
// sbc off in model view (true or false) // sbc off in model view (true or false)
sbc_off = false; sbc_off = false;
// raises top mm in model view or < 0 = off // 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 // 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 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 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 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 mm in model view or < 0 = off
move_rear = 0; move_rear = 0; // [-1:100]
/* [Case Adjustments] */ /* [Case Adjustments] */
// base case design // base case design
@@ -71,34 +71,34 @@ case_design = "shell"; // ["shell","panel","stacked","tray","round","hex","snap"
// base case style // base case style
case_style = "none"; // ["none","vu5","vu7","sides"] case_style = "none"; // ["none","vu5","vu7","sides"]
// single board computer model // 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 // sbc location x axis
pcb_loc_x = 0; pcb_loc_x = 0; //[0:.5:200]
// sbc location y axis // sbc location y axis
pcb_loc_y = 0; pcb_loc_y = 0; //[0:.5:200]
// sbc location z axis // sbc location z axis
pcb_loc_z = 0; pcb_loc_z = 0; //[0:.25:50]
// additional x axis case size // additional x axis case size
case_offset_x = 0; case_offset_x = 0; //[0:.5:200]
// additional y axis case size // additional y axis case size
case_offset_y = 0; case_offset_y = 0; //[0:.5:200]
// additional z axis case bottom size // additional z axis case bottom size
case_offset_tz = 0; case_offset_tz = 0; //[0:.5:50]
// additional z axis case top size // additional z axis case top size
case_offset_bz = 0; case_offset_bz = 0; //[0:.5:50]
// case wall thickness // case wall thickness
wallthick = 2; wallthick = 2; //[1:.5:5]
// case floor thickness // case floor thickness
floorthick = 2; floorthick = 2; //[1:.5:5]
// case side thickness // case side thickness
sidethick = 2; sidethick = 2; //[1:.5:5]
// distance between pcb and case // distance between pcb and case
gap = 1; gap = 1; //[.5:.5:5]
// corner fillets // corner fillets
c_fillet = 3; c_fillet = 3; //[0:.5:9]
// edge fillets // edge fillets
fillet = 0; fillet = 0; //[0:.5:6]
// enable indentations around io openings // enable indentations around io openings
indents = true; indents = true;
// enable wall support for standoffs // enable wall support for standoffs