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/nut_tolerance_test.scad | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 mech/pcb_case/nut_tolerance_test.scad (limited to 'mech/pcb_case/nut_tolerance_test.scad') diff --git a/mech/pcb_case/nut_tolerance_test.scad b/mech/pcb_case/nut_tolerance_test.scad deleted file mode 100644 index e1df2b4..0000000 --- a/mech/pcb_case/nut_tolerance_test.scad +++ /dev/null @@ -1,25 +0,0 @@ -include -include - -module nut_tolerance_test() { - steps = 3; - step_width = 0.1; - - for(i = [-steps : steps]) { - tol = nut_d_tol + i * step_width; - echo(tol=tol); - translate([i*5*nut_d,0,0]) - difference() { - cube([5*nut_d, 5*nut_d, 2*nut_h]); - translate([2.5*nut_d,2.5*nut_d,0]) { - union() { - cylinder(d=bolt_ds,h=2*nut_h,$fn=50); - translate([0,0,nut_h]) - cylinder(d=tol+nut_d,h=nut_h,$fn=50); - } - } - } - } -} - -nut_tolerance_test(); -- cgit v1.2.3-70-g09d2