HCoop
/
clinton
/
3d-models.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5d5c3e9
)
button-cell-holder: run wire slots all the way to bottom
author
Clinton Ebadi
<clinton@unknownlamer.org>
Thu, 4 Apr 2019 02:24:28 +0000
(22:24 -0400)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Thu, 4 Apr 2019 02:24:28 +0000
(22:24 -0400)
etc/button-cell-holder.scad
patch
|
blob
|
blame
|
history
diff --git
a/etc/button-cell-holder.scad
b/etc/button-cell-holder.scad
index
7ae3d66
..
3597aec
100644
(file)
--- a/
etc/button-cell-holder.scad
+++ b/
etc/button-cell-holder.scad
@@
-27,8
+27,8
@@
module holder (battery_d = 20, battery_h = 3.2, case_wall = 1.7, slot_undersize
// slots for wires
hook_distance = -case_d/2 + case_d*cover_pct/2; // fixme: shitty name
for (z = [-battery_h/2, battery_h/2]) {
// slots for wires
hook_distance = -case_d/2 + case_d*cover_pct/2; // fixme: shitty name
for (z = [-battery_h/2, battery_h/2]) {
-
//
#translate ([-case_d/2 - 0.01, 0, z]) rotate ([0, 90, 0]) cylinder (h = case_d, d = wire_d);
- #translate ([-case_d/2 - 0.01, 0, z]) rotate ([0, 90, 0]) cylinder (h = case_d * cover_pct/2, d = wire_d);
+ #translate ([-case_d/2 - 0.01, 0, z]) rotate ([0, 90, 0]) cylinder (h = case_d, d = wire_d);
+
//
#translate ([-case_d/2 - 0.01, 0, z]) rotate ([0, 90, 0]) cylinder (h = case_d * cover_pct/2, d = wire_d);
}
// hole to bend wire up to hold in place
}
// hole to bend wire up to hold in place