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: from v2, adjust
[reprap-play.git]
/
sleepphone-cable-box.scad
diff --git
a/sleepphone-cable-box.scad
b/sleepphone-cable-box.scad
index 54645e037e2f66011b7ba5330f0fd756be42a930..5ddbaa987409c6cda480dce59c1f4074db3c75cd 100644
(file)
--- a/
sleepphone-cable-box.scad
+++ b/
sleepphone-cable-box.scad
@@
-28,16
+28,16
@@
led_dia = 4.4;
plug_maxw = 10.95 + 0.35;
plug_minw= 6.53 + 0.35;
plug_sllen= 6.50;
plug_maxw = 10.95 + 0.35;
plug_minw= 6.53 + 0.35;
plug_sllen= 6.50;
-plug_totlen = 84.90
-
1.5; // to maxw, including phone
+plug_totlen = 84.90
+
1.5; // to maxw, including phone
plug_h = 6.5;
plug_tooth_h = 0.5;
plug_tooth_dy = 0.5;
keeper_prong = 2;
plug_h = 6.5;
plug_tooth_h = 0.5;
plug_tooth_dy = 0.5;
keeper_prong = 2;
-keeper_stalk_basewidth =
4
;
+keeper_stalk_basewidth =
6
;
keeper_stalk_len = 70;
keeper_stalk_len = 70;
-keeper_stalk_gap =
2
;
+keeper_stalk_gap =
1
;
keeper_stalk_thick = wall_bot;
// calculated
keeper_stalk_thick = wall_bot;
// calculated
@@
-132,20
+132,13
@@
module PlugKeeper(){
}
}
}
}
-module KeeperProjection(){
- projection()
- rotate([0,90,0])
- linear_extrude(height= 20)
- projection()
- PlugKeeper();
-}
-
module Box(){
difference(){
BoxMain();
translate([ led[0], phone[1]/2 - led[1], 1 ])
module Box(){
difference(){
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])
@@
-166,8
+159,14
@@
module Box(){
PlugKeeperStalkProfile();
}
PlugKeeperStalkProfile();
}
+module BoxPrint(){
+ // This makes' Cura's support more optimal: specifically,
+ // it then doesn't seem to touch the back (bottom) wall
+ rotate([0,90,0])
+ Box();
+}
+
//MainProfileInnerHalf();
//MainProfile();
//MainProfileInnerHalf();
//MainProfile();
-//KeeperProjection();
-Box();
-
+//Box();
+BoxPrint();