From 1aa242375adea01e5b1a50e9f8cd9afb6324cf66 Mon Sep 17 00:00:00 2001 From: Edward Kisiel Date: Mon, 8 Aug 2022 16:47:07 -0400 Subject: [PATCH] adjusted floor thickness for snap and fitted cases --- sbc_case_builder.scad | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sbc_case_builder.scad b/sbc_case_builder.scad index 982aa91..440cc76 100644 --- a/sbc_case_builder.scad +++ b/sbc_case_builder.scad @@ -567,7 +567,7 @@ module case_bottom(case_design) { vertical=[c_fillet,c_fillet,c_fillet,c_fillet], top=[0,0,0,0], bottom=[fillet,fillet,fillet,fillet,fillet], $fn=90); translate([(width/2)-wallthick-gap,(depth/2)-wallthick-gap,floorthick+(floorthick+case_z)/2]) - cube_fillet_inside([width-(wallthick*2),depth-(wallthick*2),case_z+floorthick+1], + cube_fillet_inside([width-(wallthick*2),depth-(wallthick*2),case_z+floorthick], vertical=[c_fillet-1,c_fillet-1,c_fillet-1,c_fillet-1], top=[0,0,0,0], bottom=[fillet,fillet,fillet,fillet,fillet], $fn=90); // snap top indent @@ -579,14 +579,13 @@ module case_bottom(case_design) { } if(case_design == "fitted") { difference() { - translate([(width/2)-wallthick-gap,(depth/2)-wallthick-gap,(case_z)/2]) + translate([(width/2)-wallthick-gap,(depth/2)-wallthick-gap,case_z/2]) cube_fillet_inside([width,depth,case_z], vertical=[c_fillet,c_fillet,c_fillet,c_fillet], top=[0,0,0,0], bottom=[fillet,fillet,fillet,fillet,fillet], $fn=90); translate([(width/2)-wallthick-gap, (depth/2)-wallthick-gap,(case_z/2)+floorthick]) - cube_fillet_inside([width-(wallthick*2),depth-(wallthick*2), -case_z+floorthick], + cube_fillet_inside([width-(wallthick*2),depth-(wallthick*2),case_z], vertical=[c_fillet-1,c_fillet-1,c_fillet-1,c_fillet-1], top=[0,0,0,0], bottom=[fillet,fillet,fillet,fillet,fillet], $fn=90); difference() {