diff options
author | xengineering <me@xengineering.eu> | 2024-01-01 15:18:40 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-02 14:24:58 +0100 |
commit | 9d7110c962065331c743618e0b011638e3890682 (patch) | |
tree | 28839158cbf94940e442aca80f1dfc586e0d4123 /mech | |
parent | 64f0f6fe7158ad4c35ca42fdbad985a60c07e8f7 (diff) | |
download | soundbox-9d7110c962065331c743618e0b011638e3890682.tar soundbox-9d7110c962065331c743618e0b011638e3890682.tar.zst soundbox-9d7110c962065331c743618e0b011638e3890682.zip |
mech: pcb_case: Use one panel in tolerance test
There used to be two panels but this is not required.
Diffstat (limited to 'mech')
-rw-r--r-- | mech/pcb_case/tolerance_tests.scad | 11 |
1 files changed, 4 insertions, 7 deletions
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 <panel.scad> use <rounded_cube.scad> +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); |