updated sbc model framework for h2 and h3 pcb thickness increase, changed bottom_height calc to include pcb thickness.

This commit is contained in:
Edward Kisiel
2023-03-05 14:57:42 -05:00
parent a6795b3383
commit b59f99c0b6
2 changed files with 2 additions and 2 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_bmaxz+floorthick+case_offset_bz;
bottom_height = pcb_z+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));