reverted bottom height calc and added support ribs for h3_ultimate2 case

This commit is contained in:
Edward Kisiel
2023-03-06 13:26:29 -05:00
parent b59f99c0b6
commit 572293170d
2 changed files with 11 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ pcb_bmaxz = sbc_data[s[0]][6];
width = pcb_width+2*(wallthick+gap)+case_offset_x;
depth = pcb_depth+2*(wallthick+gap)+case_offset_y;
top_height = pcb_tmaxz+floorthick+case_offset_tz;
bottom_height = pcb_z+pcb_bmaxz+floorthick+case_offset_bz;
bottom_height = pcb_bmaxz+floorthick+case_offset_bz;
case_z = bottom_height+top_height;
case_diameter = sqrt(pow(width-wallthick-gap,2)+pow(depth-wallthick-gap,2));
hex_diameter = sqrt(pow(width+2*(wallthick+gap),2)+pow(depth+2*(wallthick+gap),2));

View File

@@ -905,7 +905,7 @@ accessory_data = [
"platter","fan_cover",-100,150,0,"top",[0,0,0],["case",false,false,false],60,0,3,2,0,"",0, // model fan cover
"model","vent_panel_hex",144,11.77,64,"top",[0,90,0],["case",false,false,false],62,107.43,3,5.0,1.6,"y",14, // model vent cover
"platter","vent_panel_hex",-200,13.77,0,"top",[0,0,0],["case",false,false,false],62,107.43,3,5.0,1.6,"y",14, // model vent cover
"suball","rectangle",111,26.77,64,"top",[0,90,0],["case",true,false,false],62,77.43,4,0,0,"",[2,2,2,2], // vent opening
"suball","rectangle",111,26.77,62,"top",[0,90,0],["case",true,false,false],58,77.43,4,0,0,"",[2,2,2,2], // vent opening
"sub","round",111,16.57,57,"top",[0,90,0],["case",true,false,false],7,0,4,0,0,"",0, // vent cover screw hole
"sub","round",111,16.57,9,"bottom",[0,90,0],["case",true,false,false],7,0,4,0,0,"",0, // vent cover screw hole
"sub","round",111,114.4,57,"top",[0,90,0],["case",true,false,false],7,0,4,0,0,"",0, // vent cover screw hole
@@ -931,10 +931,15 @@ accessory_data = [
"add1","round",42.25,-16.5,4,"top",[0,0,0],["case",true,true,true],4,0,47,0,0,"",0, // wall support
"add1","round",16.25,-16.5,4,"top",[0,0,0],["case",true,true,true],4,0,47,0,0,"",0, // wall support
"add1","round",-1,-16.5,4,"top",[0,0,0],["case",true,true,true],4,0,47,0,0,"",0, // wall support
// "model","standoff",78,127,8.65,"top",[-90,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.2,10,0.01,0,0,1,0,0,0], // standoff
// "model","standoff",78,127,36.2,"top",[-90,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.2,6.5,0.01,0,0,1,0,0,0], // standoff
// "platter","standoff",-100,145,0,"top",[0,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.4,6.5,0.001,0,0,1,0,0,0], // standoff
// "platter","standoff",-75,145,0,"top",[0,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.4,6.5,0.001,0,0,1,0,0,0], // standoff
"add1","rectangle",2,7,49,"top",[0,0,0],["case",true,true,true],4,80,3,0,0,"",[.25,.25,.25,.25], // ceiling support
"add1","rectangle",27,-16.5,49,"top",[0,0,0],["case",true,true,true],4,130,3,0,0,"",[.25,.25,.25,.25], // ceiling support
"add1","rectangle",52,-16.5,49,"top",[0,0,0],["case",true,true,true],4,130,3,0,0,"",[.25,.25,.25,.25], // ceiling support
"add1","rectangle",77,-16.5,49,"top",[0,0,0],["case",true,true,true],4,130,3,0,0,"",[.25,.25,.25,.25], // ceiling support
"add1","rectangle",104,7,49,"top",[0,0,0],["case",true,true,true],4,80,3,0,0,"",[.25,.25,.25,.25], // ceiling support
// "model","standoff",78,127,8.65,"top",[-90,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.2,10,0.01,0,0,1,0,0,0], // standoff
// "model","standoff",78,127,36.2,"top",[-90,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.2,6.5,0.01,0,0,1,0,0,0], // standoff
// "platter","standoff",-100,145,0,"top",[0,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.4,6.5,0.001,0,0,1,0,0,0], // standoff
// "platter","standoff",-75,145,0,"top",[0,0,0],["case",false,false,true],0,0,0,0,0,0,[5.75,10,3.4,6.5,0.001,0,0,1,0,0,0], // standoff
"model","h3_port_extender",31,119,4,"top",[0,0,-90],["case",true,false,true],0,0,0,0,0,"remote",0, // port extender model
"sub","h3_port_extender",31,119,4,"top",[0,0,-90],["case",true,false,true],0,0,0,0,0,"remote",0, // port extender openings
"model","h3_port_extender_holder",31,119,4,"top",[0,0,-90],["case",true,false,true],0,0,0,2.5,0,"both",0, // port extender holder