From 9d7110c962065331c743618e0b011638e3890682 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 Jan 2024 15:18:40 +0100 Subject: mech: pcb_case: Use one panel in tolerance test There used to be two panels but this is not required. --- mech/pcb_case/tolerance_tests.scad | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'mech') diff --git a/mech/pcb_case/tolerance_tests.scad b/mech/pcb_case/tolerance_tests.scad index c15cf50..b8e88d2 100644 --- a/mech/pcb_case/tolerance_tests.scad +++ b/mech/pcb_case/tolerance_tests.scad @@ -4,6 +4,8 @@ include use +t = 2; + module bolt_drilling() { steps = 3; step_width = 0.1; @@ -47,7 +49,6 @@ module panel_thickness() { steps = 3; step_width = 0.2; - t = 2; height = 2*t; for(i = [-steps : steps]) { @@ -61,15 +62,12 @@ module panel_thickness() { } } } - - translate([0, 6*t, 0]) rotate([0, -90, 0]) rounded_cube([t, 4*t, 7*t], t); } module panel_width_height() { steps = 3; step_width = 0.2; - t = 2; height = 3*t; for(i = [-steps : steps]) { @@ -83,11 +81,10 @@ module panel_width_height() { } } } - - translate([0, 9*t, 0]) rotate([0, -90, 0]) rounded_cube([t, 6*t, 6*t], t); } bolt_drilling(); translate([0, 20, 0]) nut_drilling(); -translate([0, 90, 0]) panel_thickness(); +translate([0, 70, 0]) panel_thickness(); translate([0, 50, 0]) panel_width_height(); +translate([0, 85, 0]) rotate([0, -90, 0]) pcb_case_panel([t, 6*t, 6*t], t); -- cgit v1.2.3-70-g09d2