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));