diff options
author | xengineering <me@xengineering.eu> | 2024-01-01 14:26:52 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-01-02 14:24:58 +0100 |
commit | a09f5e3cdaabdcaf80dfa825d373f380a36c885d (patch) | |
tree | 0f37cad507b80e2924b6ebe77f8d809b5ec793d7 | |
parent | 710206dfcaf4ddff2983797cf7b7fc19377cebec (diff) | |
download | soundbox-a09f5e3cdaabdcaf80dfa825d373f380a36c885d.tar soundbox-a09f5e3cdaabdcaf80dfa825d373f380a36c885d.tar.zst soundbox-a09f5e3cdaabdcaf80dfa825d373f380a36c885d.zip |
mech: pcb_case: Remove nut_r
nut_d should be used exclusively to avoid handling to alternatives for
the same parameter.
-rw-r--r-- | mech/pcb_case/nut.scad | 1 | ||||
-rw-r--r-- | mech/pcb_case/shell.scad | 2 |
2 files changed, 1 insertions, 2 deletions
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); } } |