diff options
author | xengineering <me@xengineering.eu> | 2024-01-01 14:09:52 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-02 14:24:58 +0100 |
commit | 710206dfcaf4ddff2983797cf7b7fc19377cebec (patch) | |
tree | df10156562aad760ec594c68c81a8037da229a5b /mech/pcb_case/panel_thickness_tolerance_test.scad | |
parent | d5655c62a5016f89f3b7fc8f6c2f9db68479b261 (diff) | |
download | soundbox-710206dfcaf4ddff2983797cf7b7fc19377cebec.tar soundbox-710206dfcaf4ddff2983797cf7b7fc19377cebec.tar.zst soundbox-710206dfcaf4ddff2983797cf7b7fc19377cebec.zip |
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.
Diffstat (limited to 'mech/pcb_case/panel_thickness_tolerance_test.scad')
-rw-r--r-- | mech/pcb_case/panel_thickness_tolerance_test.scad | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/mech/pcb_case/panel_thickness_tolerance_test.scad b/mech/pcb_case/panel_thickness_tolerance_test.scad deleted file mode 100644 index a9080e4..0000000 --- a/mech/pcb_case/panel_thickness_tolerance_test.scad +++ /dev/null @@ -1,25 +0,0 @@ -use <rounded_cube.scad> - -t = 2; -current_tol = 0.4; -height = 2*t; - -module panel_thickness_tolerance_test() { - steps = 3; - step_width = 0.2; - - for(i = [-steps : steps]) { - tol = current_tol + i * step_width; - echo(tol=tol); - translate([i*5*t,0,0]) - difference() { - cube([5*t, 5*t, height]); - translate([2*t, 0, t]) { - cube([t+tol, 5*t, t]); - } - } - } -} - -panel_thickness_tolerance_test(); -translate([0, 6*t, 0]) rotate([0, -90, 0]) rounded_cube([t, 4*t, 7*t], t); |