summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mech/pcb_case/nut.scad1
-rw-r--r--mech/pcb_case/shell.scad2
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);
}
}