chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ba787f
)
bike-lipo-box: glands
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 23:32:11 +0000
(23:32 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 23:32:11 +0000
(23:32 +0000)
bike-lipo-box.scad
patch
|
blob
|
history
diff --git
a/bike-lipo-box.scad
b/bike-lipo-box.scad
index e9c8253490a3b7a74b15305af18d1170ba5727aa..36b433f46d89a58f88170c1fef4e14b5c8407802 100644
(file)
--- a/
bike-lipo-box.scad
+++ b/
bike-lipo-box.scad
@@
-3,6
+3,7
@@
include <commitid.scad>
include <utils.scad>
include <sealing-box.scad>
include <commitid.scad>
include <utils.scad>
include <sealing-box.scad>
+include <bike-lipo-box-gland.scad>
pxp6012_rad = 22.5 / 2 + 0.5; // make circular hole this size in outer wall
pxp6012_rad_outer = 32.0 / 2 - 0.5;
pxp6012_rad = 22.5 / 2 + 0.5; // make circular hole this size in outer wall
pxp6012_rad_outer = 32.0 / 2 - 0.5;
@@
-22,6
+23,8
@@
totz_inner = 28.0;
wallthick = 2.5;
wallthick = 2.5;
+cabledia = 8.7;
+
strap_w = 5;
strap_th = 4;
strap_pillar = 3;
strap_w = 5;
strap_th = 4;
strap_pillar = 3;
@@
-137,6
+140,15
@@
module ProfileDemos(){ ////toplevel
color("red") translate([-5,0]) square([1,ts_totz_inner]);
}
color("red") translate([-5,0]) square([1,ts_totz_inner]);
}
+module AtGlands(){
+ for (dgy=[-15,-45]) {
+ translate([totx_inner + wallthick - $sealingbox_cnrrad * .3,
+ toty_inner + dgy,
+ totz_inner/2])
+ children();
+ }
+}
+
module Box(){ ////toplevel
$sealingbox_sz = sb_box_sz;
module Box(){ ////toplevel
$sealingbox_sz = sb_box_sz;
@@
-161,6
+173,9
@@
module Box(){ ////toplevel
translate([kx, 40, -1])
cube([10, 5, 8 +1]);
}
translate([kx, 40, -1])
cube([10, 5, 8 +1]);
}
+
+ AtGlands()
+ GlandPositive(cabledia);
}
// charging connector
}
// charging connector
@@
-172,6
+187,9
@@
module Box(){ ////toplevel
translate([switch_x, toty_inner, totz_inner/2])
rotate([90,0,90])
S1930_Negative();
translate([switch_x, toty_inner, totz_inner/2])
rotate([90,0,90])
S1930_Negative();
+
+ AtGlands()
+ GlandNegative(cabledia);
}
}
}
}