summaryrefslogtreecommitdiff
path: root/mech
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-01 16:31:58 +0100
committerxengineering <me@xengineering.eu>2024-01-02 14:24:58 +0100
commitf46045eaf93f87db15241824c160fe794b3fcc94 (patch)
tree9672e47930e54098b3175ba89780088bc2ed67ed /mech
parentaf2905b47c3054c5a28d6ff099e19337b02ffcb3 (diff)
downloadsoundbox-f46045eaf93f87db15241824c160fe794b3fcc94.tar
soundbox-f46045eaf93f87db15241824c160fe794b3fcc94.tar.zst
soundbox-f46045eaf93f87db15241824c160fe794b3fcc94.zip
mech: pcb_case: Remove unnecessary height variable
Diffstat (limited to 'mech')
-rw-r--r--mech/pcb_case/tolerance_tests.scad5
1 files changed, 2 insertions, 3 deletions
diff --git a/mech/pcb_case/tolerance_tests.scad b/mech/pcb_case/tolerance_tests.scad
index f49d8a7..a981852 100644
--- a/mech/pcb_case/tolerance_tests.scad
+++ b/mech/pcb_case/tolerance_tests.scad
@@ -9,16 +9,15 @@ step_width = 0.15;
module bolt_drilling() {
steps = 3;
- height = 3;
for(i = [-steps : steps]) {
tol = bolt_ds_tol + i * step_width;
echo(bolt_ds_tol=tol);
translate([i*5*bolt_ds,0,0])
difference() {
- cube([5*bolt_ds, 5*bolt_ds, height]);
+ cube([5*bolt_ds, 5*bolt_ds, t]);
translate([2.5*bolt_ds,2.5*bolt_ds,0]) {
- cylinder(d=bolt_ds+tol,h=height,$fn=50);
+ cylinder(d=bolt_ds+tol,h=t,$fn=50);
}
}
}