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:
b0a1afd
)
bike-lipo-box: straps for lipo battery assembly
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 23:14:51 +0000
(23:14 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 23:14:51 +0000
(23:14 +0000)
bike-lipo-box.scad
patch
|
blob
|
history
diff --git
a/bike-lipo-box.scad
b/bike-lipo-box.scad
index de982d933f4a14d3717b9e7ecf7716acce3ab077..c7fc125f06e9780ce65507ebf92f04abc5850cf9 100644
(file)
--- a/
bike-lipo-box.scad
+++ b/
bike-lipo-box.scad
@@
-22,6
+22,12
@@
totz_outer = 31;
wallthick = 2.5;
wallthick = 2.5;
+strap_w = 5;
+strap_th = 4;
+strap_pillar = 3;
+strap_pillard = 5;
+strap_over = 2;
+
// calculated
totx_outer = totx_inner + wallthick*2;
// calculated
totx_outer = totx_inner + wallthick*2;
@@
-138,6
+144,8
@@
module Box(){ ////toplevel
switch_x = chargingconn_x + pxp6012_rad_outer
+ s1930_y_outer/2 + s1930_around;
switch_x = chargingconn_x + pxp6012_rad_outer
+ s1930_y_outer/2 + s1930_around;
+ strap_x_tot = strap_w + strap_pillar*2;
+
difference(){
union(){
rotate([90,0,0])
difference(){
union(){
rotate([90,0,0])
@@
-147,6
+155,19
@@
module Box(){ ////toplevel
translate([switch_x, toty_inner, totz_inner/2])
rotate([90,0,90])
S1930_Positive();
translate([switch_x, toty_inner, totz_inner/2])
rotate([90,0,90])
S1930_Positive();
+
+ // straps for lipo
+ for (sx= [ 45, 80, 110 ]) {
+ for (sy= [ 10, 40 ]) {
+ translate([sx - strap_x_tot, sy, 0])
+ difference(){
+ translate([0,0, -0.1])
+ cube([strap_x_tot, strap_pillard, strap_th + strap_over]);
+ translate([strap_pillar, -1, 0])
+ cube([strap_w, strap_pillard+2, strap_th]);
+ }
+ }
+ }
}
// charging connector
}
// charging connector