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: introduce keeper_stalk_thick, nfc
[reprap-play.git]
/
sleepphone-cable-box.scad
diff --git
a/sleepphone-cable-box.scad
b/sleepphone-cable-box.scad
index 385b678dbf368c08e7c11795d267a28f78548eb7..d04fc4534d53e07e9d5ad0c1058f32bfbdcca673 100644
(file)
--- a/
sleepphone-cable-box.scad
+++ b/
sleepphone-cable-box.scad
@@
-3,6
+3,8
@@
include <funcs.scad>
wall = 0.75 * [1,1,1];
include <funcs.scad>
wall = 0.75 * [1,1,1];
+wall_bot = 0.75;
+
phone = [ 76.40, 30.96, 6.00 ]; // includes socket
phone_button_z = 6.58;
minwall = 0.50;
phone = [ 76.40, 30.96, 6.00 ]; // includes socket
phone_button_z = 6.58;
minwall = 0.50;
@@
-33,6
+35,7
@@
keeper_prong = 2;
keeper_stalk_basewidth = 4;
keeper_stalk_len = 70;
keeper_stalk_gap = 2;
keeper_stalk_basewidth = 4;
keeper_stalk_len = 70;
keeper_stalk_gap = 2;
+keeper_stalk_thick = wall_bot;
// calculated
// calculated
@@
-70,7
+73,8
@@
module MainProfile(){
difference(){
for (m=[0,1]) mirror([m,0]) {
minkowski(){
difference(){
for (m=[0,1]) mirror([m,0]) {
minkowski(){
- square(2 * [wall[1], wall[2]], center=true);
+ translate([ -wall[1], -wall_bot ])
+ square([ wall[1]*2, wall_bot + wall[2] ]);
MainProfileInnerHalf();
}
}
MainProfileInnerHalf();
}
}
@@
-113,8
+117,8
@@
module PlugKeeperStalkProfile(){
module PlugKeeper(){
for (m=[0,1]) mirror([0,m,0]) {
module PlugKeeper(){
for (m=[0,1]) mirror([0,m,0]) {
- translate([0,0, -
wall[2]
])
- linear_extrude(height=plug_h +
wall[2]
)
+ translate([0,0, -
keeper_stalk_thick
])
+ linear_extrude(height=plug_h +
keeper_stalk_thick
)
PlugKeeperProfileHalf();
translate([0, 0, plug_h - plug_tooth_h])
PlugKeeperProfileHalf();
translate([0, 0, plug_h - plug_tooth_h])
@@
-124,8
+128,8
@@
module PlugKeeper(){
}
}
- translate([0,0, -
wall[2]
])
- linear_extrude(height =
wall[2]
)
+ translate([0,0, -
keeper_stalk_thick
])
+ linear_extrude(height =
keeper_stalk_thick
)
PlugKeeperStalkProfile();
}
PlugKeeperStalkProfile();
}