From 710206dfcaf4ddff2983797cf7b7fc19377cebec Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 Jan 2024 14:09:52 +0100 Subject: mech: pcb_case: Move tolerance tests to one file This makes the file structure and module naming simpler and allows to easily print all tolerance tests at once. This is helpful to validate a specific printer setup. --- mech/pcb_case/panel_size_tolerance_test.scad | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 mech/pcb_case/panel_size_tolerance_test.scad (limited to 'mech/pcb_case/panel_size_tolerance_test.scad') diff --git a/mech/pcb_case/panel_size_tolerance_test.scad b/mech/pcb_case/panel_size_tolerance_test.scad deleted file mode 100644 index 8a0b20b..0000000 --- a/mech/pcb_case/panel_size_tolerance_test.scad +++ /dev/null @@ -1,26 +0,0 @@ -use - -t = 2; -t_tol = 0.4; -current_tol = 0.8; -height = 3*t; - -module panel_size_tolerance_test() { - steps = 3; - step_width = 0.2; - - for(i = [-steps : steps]) { - tol = current_tol + i * step_width; - echo(tol=tol); - translate([i*3*t,0,0]) - difference() { - cube([3*t, 8*t, height]); - translate([t, t-tol/2, t]) { - rounded_cube([t, 6*t+tol, 6*t+tol], t); - } - } - } -} - -panel_size_tolerance_test(); -translate([0, 9*t, 0]) rotate([0, -90, 0]) rounded_cube([t, 6*t, 6*t], t); -- cgit v1.2.3-70-g09d2