From f46045eaf93f87db15241824c160fe794b3fcc94 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 Jan 2024 16:31:58 +0100 Subject: mech: pcb_case: Remove unnecessary height variable --- mech/pcb_case/tolerance_tests.scad | 5 ++--- 1 file 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); } } } -- cgit v1.2.3-70-g09d2