From a09f5e3cdaabdcaf80dfa825d373f380a36c885d Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 Jan 2024 14:26:52 +0100 Subject: mech: pcb_case: Remove nut_r nut_d should be used exclusively to avoid handling to alternatives for the same parameter. --- mech/pcb_case/nut.scad | 1 - mech/pcb_case/shell.scad | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'mech') diff --git a/mech/pcb_case/nut.scad b/mech/pcb_case/nut.scad index afeb5cb..0768b6a 100644 --- a/mech/pcb_case/nut.scad +++ b/mech/pcb_case/nut.scad @@ -1,6 +1,5 @@ nut_h = 3; nut_d = 4.15; -nut_r = nut_d / 2; nut_d_tol = 0.2; module nut() { diff --git a/mech/pcb_case/shell.scad b/mech/pcb_case/shell.scad index 2599584..555b760 100644 --- a/mech/pcb_case/shell.scad +++ b/mech/pcb_case/shell.scad @@ -46,7 +46,7 @@ module shell_connector(dim, t) { for (x = [dim[0]/4, dim[0]-dim[0]/4]) { translate([x,dim[1]-t-size_y,dim[2]/2+1.5*bolt_ds]) rotate([-90,0,0]) - cylinder(r=nut_r, h=nut_h, $fn=30); + cylinder(d=nut_d, h=nut_h, $fn=30); } } -- cgit v1.2.3-70-g09d2