From b59f99c0b64c350320804d049b5f4272cea1127b Mon Sep 17 00:00:00 2001 From: Edward Kisiel Date: Sun, 5 Mar 2023 14:57:42 -0500 Subject: [PATCH] updated sbc model framework for h2 and h3 pcb thickness increase, changed bottom_height calc to include pcb thickness. --- SBC_Model_Framework | 2 +- sbc_case_builder.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SBC_Model_Framework b/SBC_Model_Framework index f9d1a49..78ed9b4 160000 --- a/SBC_Model_Framework +++ b/SBC_Model_Framework @@ -1 +1 @@ -Subproject commit f9d1a4950ded65f8794dbf0d8c59de85267b7082 +Subproject commit 78ed9b4129f3eef3f8e0d4462b323d43aa465d19 diff --git a/sbc_case_builder.scad b/sbc_case_builder.scad index cff91b2..6bcbaa6 100644 --- a/sbc_case_builder.scad +++ b/sbc_case_builder.scad @@ -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));