fixed snap case top, removed support pieces from non-shell cases for rock5b, fixed tray bottom mounting hole location for top and interference with standoff.

This commit is contained in:
Edward Kisiel
2023-08-26 14:39:08 -04:00
parent c83301debf
commit 501da93cad
3 changed files with 38 additions and 19 deletions

View File

@@ -18131,7 +18131,7 @@
"rock5b_shell": {
"$fn": "90",
"accessory_highlight": "false",
"accessory_name": "rock5b",
"accessory_name": "rock5b_shell",
"adjust": "0.01",
"bottom_ext_standoff": "[6.25, 5, 3.6, 10, 4, 1, 0, 0, 0, 4.5, 5.1]",
"bottom_front_left": "0",
@@ -18644,7 +18644,7 @@
"rock5bq_shell": {
"$fn": "90",
"accessory_highlight": "false",
"accessory_name": "rock5bq",
"accessory_name": "rock5bq_shell",
"adjust": "0.01",
"bottom_ext_standoff": "[6.25, 5, 3.2, 10, 4, 4, 0, 0, 1, 4.5, 5.1]",
"bottom_front_left": "0",

View File

@@ -725,14 +725,14 @@ module case_bottom(case_design) {
// left side nut
translate([-adjust-gap,wallthick+gap+10,floorthick+3.4])
rotate([90,0,90]) cylinder(d=10, h=4, $fn=6);
if(depth >= 75 && sbc_model != "visionfive2" && sbc_model != "visionfive2q") {
if(depth >= 75 && sbc_model != "visionfive2" && sbc_model != "visionfive2q" && sbc_model != "rock5b-v1.42" && sbc_model != "rock5bq-v1.42" && sbc_model != "rock5b-v1.3") {
translate([width-wallthick-gap-wallthick-4+adjust,depth-wallthick-gap-10,
floorthick+3.4]) rotate([90,0,90]) cylinder(d=10, h=4, $fn=6);
translate([-adjust-gap,depth-wallthick-gap-10,floorthick+3.4])
rotate([90,0,90]) cylinder(d=10, h=4, $fn=6);
}
else {
if(sbc_model == "visionfive2" || sbc_model == "visionfive2q") {
if(sbc_model == "visionfive2" || sbc_model == "visionfive2q" || sbc_model == "rock5b-v1.42" || sbc_model == "rock5bq-v1.42" || sbc_model == "rock5b-v1.3") {
translate([width-wallthick-gap-wallthick-4+adjust,wallthick+gap+58,
floorthick+3.4]) rotate([90,0,90]) cylinder(d=10, h=4, $fn=6);
translate([-adjust-gap,wallthick+gap+58,floorthick+3.4])
@@ -934,20 +934,20 @@ module case_bottom(case_design) {
// left side bottom nut inset
translate([-gap+.6,wallthick+gap+10,floorthick+3.4])
rotate([90,0,90]) cylinder(d=6.6, h=3.5, $fn=6);
if(depth >= 75 && sbc_model != "visionfive2" && sbc_model != "visionfive2q") {
if(depth >= 75 && sbc_model != "visionfive2" && sbc_model != "visionfive2q" && sbc_model != "rock5b-v1.42" && sbc_model != "rock5bq-v1.42" && sbc_model != "rock5b-v1.3") {
translate([width-2*(wallthick+gap)-sidethick-adjust,depth-wallthick-gap-10,
floorthick+3.4]) rotate([0,90,0])
cylinder(d=3, h=10+sidethick+(2*adjust));
translate([-wallthick-gap-adjust-6,depth-wallthick-gap-10,
floorthick+3.4]) rotate([0,90,0])
cylinder(d=3, h=10+sidethick+(2*adjust));
translate([width-3.5-(2*wallthick)-gap-.6,depth-wallthick-gap-10,
#translate([width-3.5-(2*wallthick)-gap-.6,depth-wallthick-gap-10,
floorthick+3.4])rotate([90,0,90]) cylinder(d=6.6, h=3.5, $fn=6);
translate([-gap+.6,depth-wallthick-gap-10,floorthick+3.4])
#translate([-gap+.6,depth-wallthick-gap-10,floorthick+3.4])
rotate([90,0,90]) cylinder(d=6.6, h=3.5, $fn=6);
}
else {
if(sbc_model == "visionfive2" || sbc_model == "visionfive2q") {
if(sbc_model == "visionfive2" || sbc_model == "visionfive2q" || sbc_model == "rock5b-v1.42" || sbc_model == "rock5bq-v1.42" || sbc_model == "rock5b-v1.3") {
translate([width-3*(wallthick+gap)-adjust,wallthick+gap+58,
floorthick+3.4]) rotate([0,90,0])
cylinder(d=3, h=10+sidethick+(2*adjust));
@@ -1397,14 +1397,14 @@ module case_top(case_design) {
// left side bottom attachment hole
translate([-2*(wallthick+gap)-sidethick-adjust,wallthick+gap+10,
floorthick+3.4]) rotate([0,90,0]) cylinder(d=3, h=10+sidethick+(2*adjust));
if(depth >= 75 && sbc_model != "visionfive2" && sbc_model != "visionfive2q") {
if(depth >= 75 && sbc_model != "visionfive2" && sbc_model != "visionfive2q"&& sbc_model != "rock5b-v1.42" && sbc_model != "rock5bq-v1.42" && sbc_model != "rock5b-v1.3") {
translate([width-2*(wallthick+gap)-sidethick-adjust,depth-wallthick-gap-10,
floorthick+3.4]) rotate([0,90,0]) cylinder(d=3, h=10+sidethick+(2*adjust));
translate([-wallthick-gap-adjust-6,depth-wallthick-gap-10,
floorthick+3.4]) rotate([0,90,0]) cylinder(d=3, h=10+sidethick+(2*adjust));
}
else {
if(sbc_model == "visionfive2" || sbc_model == "visionfive2q") {
if(sbc_model == "visionfive2" || sbc_model == "visionfive2q" || sbc_model == "rock5b-v1.42" || sbc_model == "rock5bq-v1.42" || sbc_model == "rock5b-v1.3") {
translate([width-2*(wallthick+gap)-sidethick-adjust,wallthick+gap+58,
floorthick+3.4]) rotate([0,90,0]) cylinder(d=3, h=10+sidethick+(2*adjust));
translate([-wallthick-gap-adjust-6,wallthick+gap+58,
@@ -1521,7 +1521,7 @@ module case_top(case_design) {
}
// snap top outdent
difference() {
translate([-1.90+tol,(depth/2)-((depth*.75)/2)+2.5-gap-wallthick,case_z-.5])
translate([-wallthick-.5+tol,(depth/2)-((depth*.75)/2)+2.5-gap-wallthick,case_z-.5])
rotate([0,45,0]) cube([4,(depth*.75)-5,4]);
translate([-.75,(depth/2)-((depth*.75)/2)+1.25-gap-wallthick,case_z+floorthick-5.75])
rotate([0,0,0]) cube([6,(depth*.75)-2,6]);

View File

@@ -1371,6 +1371,19 @@ accessory_data = [
"sub","rectangle",92,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],10,2,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",93,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],2,10,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",78,67,-1,"bottom",[0,0,0],["sbc",true,true,false],14,18,12.5,0,0,"",[.25,.25,.25,.25], // sdcard opening
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
"sub","rectangle",81.575,-5,13,"top",[0,0,0],["sbc",true,true,true],16.75,4,14.25,0,0,"",[.25,.25,.25,.25], // rj-45 adjustment
"sub","rectangle",64.25,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb3 adjustment
"sub","rectangle",45.5,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb2 adjustment
"add1","access_port",10,0,-0.01,"bottom",[0,0,0],["sbc",true,true,false],80,75,2,0,0,"portrait",0, // access port
"model","access_cover",10,0,-0.01,"bottom",[0,0,0],["sbc",true,true,false],80,75,2,0,0,"portrait",0, // model access cover
"platter","access_cover",-110,40,0,"bottom",[0,0,0],["case",false,false,false],80,75,2,0,0,"portrait",0], // platter access cover
["rock5b_shell",
"sub","rectangle",-1,66.5,12.99,"top",[0,0,0],["sbc",true,true,true],10,2,8,0,0,"",[.25,.25,.25,.25], // UL standoff adjustment
"sub","rectangle",92,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],10,2,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",93,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],2,10,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",78,67,-1,"bottom",[0,0,0],["sbc",true,true,false],14,18,12.5,0,0,"",[.25,.25,.25,.25], // sdcard opening
"add1","round",62.5,-1.5,14,"top",[0,0,0],["case",true,true,true],3,0,18,0,0,"",0, // wall support
"add1","round",80.75,-1.5,14,"top",[0,0,0],["case",true,true,true],2,0,18,0,0,"",0, // wall support
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
@@ -1387,6 +1400,20 @@ accessory_data = [
"sub","rectangle",93,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],2,10,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],10,10,15,0,0,"vertical",[1,1,1,1], // sub fitting
"sub","rectangle",14,23.5,28,"top",[0,0,0],["sbc-case_z",true,true,true],43,43,6,0,0,"horizontal",[.25,.25,.25,.25], // heatsink opening
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
"sub","rectangle",81.575,-5,13,"top",[0,0,0],["sbc",true,true,true],16.75,4,14.25,0,0,"",[.25,.25,.25,.25], // rj-45 adjustment
"sub","rectangle",64.25,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb3 adjustment
"sub","rectangle",45.5,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb2 adjustment
"add1","access_port",10,0,-0.01,"bottom",[0,0,0],["sbc",true,true,false],80,75,2,0,0,"portrait",0, // access port
"model","access_cover",10,0,-0.01,"bottom",[0,0,0],["sbc",true,true,false],80,75,2,0,0,"portrait",0, // model access cover
"platter","access_cover",-110,40,0,"bottom",[0,0,0],["case",false,false,false],80,75,2,0,0,"portrait",0], // platter access cover
["rock5bq_shell",
"sub","rectangle",-1,66.5,12.99,"top",[0,0,0],["sbc",true,true,true],10,2,8,0,0,"",[.25,.25,.25,.25], // UL standoff adjustment
"sub","rectangle",92,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],10,2,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",93,17.5,12.99,"top",[0,0,0],["sbc",true,true,true],2,10,15,0,0,"",[.25,.25,.25,.25], // LR standoff adjustment
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],10,10,15,0,0,"vertical",[1,1,1,1], // sub fitting
"sub","rectangle",14,23.5,28,"top",[0,0,0],["sbc-case_z",true,true,true],43,43,6,0,0,"horizontal",[.25,.25,.25,.25], // heatsink opening
"add1","round",62.5,-1.5,14,"top",[0,0,0],["case",true,true,true],3,0,18,0,0,"",0, // wall support
"add1","round",80.75,-1.5,14,"top",[0,0,0],["case",true,true,true],2,0,18,0,0,"",0, // wall support
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
@@ -1400,8 +1427,6 @@ accessory_data = [
["rock5bq_tray",
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],10,10,15,0,0,"vertical",[1,1,1,1], // sub fitting
"sub","rectangle",14,23.5,28,"top",[0,0,0],["sbc-case_z",true,true,true],43,43,6,0,0,"horizontal",[.25,.25,.25,.25], // heatsink opening
"add1","round",62.5,-1.5,14,"top",[0,0,0],["case",true,true,true],3,0,18,0,0,"",0, // wall support
"add1","round",80.75,-1.5,14,"top",[0,0,0],["case",true,true,true],2,0,18,0,0,"",0, // wall support
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
"sub","rectangle",81.575,-5,13,"top",[0,0,0],["sbc",true,true,true],16.75,4,14.25,0,0,"",[.25,.25,.25,.25], // rj-45 adjustment
"sub","rectangle",64.25,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb3 adjustment
@@ -1413,8 +1438,6 @@ accessory_data = [
["rock5bq_tray_sides",
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],10,10,15,0,0,"vertical",[1,1,1,1], // sub fitting
"sub","rectangle",14,23.5,30,"top",[0,0,0],["sbc-case_z",true,true,true],43,43,6,0,0,"horizontal",[.25,.25,.25,.25], // heatsink opening
"add1","round",62.5,-1.5,14,"top",[0,0,0],["case",true,true,true],3,0,18,0,0,"",0, // wall support
"add1","round",80.75,-1.5,14,"top",[0,0,0],["case",true,true,true],2,0,18,0,0,"",0, // wall support
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
"sub","rectangle",81.575,-5,13,"top",[0,0,0],["sbc",true,true,true],16.75,4,14.25,0,0,"",[.25,.25,.25,.25], // rj-45 adjustment
"sub","rectangle",64.25,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb3 adjustment
@@ -1426,8 +1449,6 @@ accessory_data = [
["rock5bq_snap",
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],10,10,15,0,0,"vertical",[1,1,1,1], // sub fitting
"sub","rectangle",14,23.5,32,"top",[0,0,0],["sbc-case_z",true,true,true],43,43,6,0,0,"horizontal",[.25,.25,.25,.25], // heatsink opening
"add1","round",62.5,-1.5,14,"top",[0,0,0],["case",true,true,true],3,0,18,0,0,"",0, // wall support
"add1","round",80.75,-1.5,14,"top",[0,0,0],["case",true,true,true],2,0,18,0,0,"",0, // wall support
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
"sub","rectangle",81.575,-5,13,"top",[0,0,0],["sbc",true,true,true],16.75,4,14.25,0,0,"",[.25,.25,.25,.25], // rj-45 adjustment
"sub","rectangle",64.25,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb3 adjustment
@@ -1439,8 +1460,6 @@ accessory_data = [
["rock5bq_fitted",
"sub","rectangle",89,9.25,11,"top",[0,0,0],["case",true,true,false],10,10,15,0,0,"vertical",[1,1,1,1], // sub fitting
"sub","rectangle",14,23.5,30,"top",[0,0,0],["sbc-case_z",true,true,true],43,43,6,0,0,"horizontal",[.25,.25,.25,.25], // heatsink opening
"add1","round",62.5,-1.5,14,"top",[0,0,0],["case",true,true,true],3,0,18,0,0,"",0, // wall support
"add1","round",80.75,-1.5,14,"top",[0,0,0],["case",true,true,true],2,0,18,0,0,"",0, // wall support
"sub","slot",15,0,21.25,"top",[90,90,0],["sbc",true,true,true],3.75,6.125,5,0,0,"",[.25,.25,.25,.25], // usb-c adjustment
"sub","rectangle",81.575,-5,13,"top",[0,0,0],["sbc",true,true,true],16.75,4,14.25,0,0,"",[.25,.25,.25,.25], // rj-45 adjustment
"sub","rectangle",64.25,-5,13,"top",[0,0,0],["sbc",true,true,true],15,4,17,0,0,"",[.25,.25,.25,.25], // usb3 adjustment