chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sleepphone-cable-box: octagonal led
[reprap-play.git]
/
sleepphone-cable-box.scad
diff --git
a/sleepphone-cable-box.scad
b/sleepphone-cable-box.scad
index 1fe2e98c8670f62ff8af90eac828cb6c3ed135af..0d93c2093b83ef3725dd444095f4d282f2d572b6 100644
(file)
--- a/
sleepphone-cable-box.scad
+++ b/
sleepphone-cable-box.scad
@@
-145,7
+145,8
@@
module Box(){
BoxMain();
translate([ led[0], phone[1]/2 - led[1], 1 ])
BoxMain();
translate([ led[0], phone[1]/2 - led[1], 1 ])
- cylinder(r = led_dia/2, h= phone[2]*2, $fn=20);
+ rotate([0,0, 360/8/2])
+ cylinder(r = led_dia/2 / cos(360/8/2), h= phone[2]*2, $fn=8);
for (ys=[-1,+1]) {
translate([ -0.1, ys * keeper_stalk_gap, -wall[2]*2])
for (ys=[-1,+1]) {
translate([ -0.1, ys * keeper_stalk_gap, -wall[2]*2])