summaryrefslogtreecommitdiff
path: root/mech/pcb_case/tolerance_tests.scad
diff options
context:
space:
mode:
Diffstat (limited to 'mech/pcb_case/tolerance_tests.scad')
-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);
}
}
}