From f393da7372e1a8c5e44e42bd1934161f146016c9 Mon Sep 17 00:00:00 2001 From: Edward Kisiel Date: Sat, 5 Apr 2025 15:21:45 -0400 Subject: [PATCH] fixed top standoff opening problem due to typo --- mod/case_top.scad | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/case_top.scad b/mod/case_top.scad index 544cee6..e0d4d6c 100644 --- a/mod/case_top.scad +++ b/mod/case_top.scad @@ -316,19 +316,19 @@ module case_top(case_design) { if (class == "pcbhole" && id == 0 && pcbhole_pos == "left_rear" && top_rear_left_enable == true && top_standoff[6] != "blind") { - translate([pcbhole_x,pcbhole_y,case_z-(floorthick-adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2+adj)); + translate([pcbhole_x,pcbhole_y,case_z-(floorthick+adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); } if (class == "pcbhole" && id == 0 && pcbhole_pos == "left_front" && top_front_left_enable == true && top_standoff[6] != "blind") { - translate([pcbhole_x,pcbhole_y,case_z-(floorthick-adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); + translate([pcbhole_x,pcbhole_y,case_z-(floorthick+adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); } if (class == "pcbhole" && id == 0 && pcbhole_pos == "right_rear" && top_rear_right_enable == true && top_standoff[6] != "blind") { - translate([pcbhole_x,pcbhole_y,case_z-(floorthick-adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); + translate([pcbhole_x,pcbhole_y,case_z-(floorthick+adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); } if (class == "pcbhole" && id == 0 && pcbhole_pos == "right_front" && top_front_right_enable == true && top_standoff[6] != "blind") { - translate([pcbhole_x,pcbhole_y,case_z-(floorthick-adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); + translate([pcbhole_x,pcbhole_y,case_z-(floorthick+adj)]) cylinder(d=top_standoff[4]-.2, h=floorthick+(2*adj)); } } }