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:
98537f0
)
bike-lipo-box: wip StrapKeepers
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 23:55:24 +0000
(23:55 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 23:55:24 +0000
(23:55 +0000)
Partially reverts
67b79108
- bringing back the basics of the shape
used there
bike-lipo-box.scad
patch
|
blob
|
history
diff --git
a/bike-lipo-box.scad
b/bike-lipo-box.scad
index 72f506b87de5d1e2bc69bc765f7d42e55acb62e1..e5281cedf9a24fdac8571fad5043ff258c345d4f 100644
(file)
--- a/
bike-lipo-box.scad
+++ b/
bike-lipo-box.scad
@@
-25,12
+25,14
@@
wallthick = 2.5;
cabledia = 8.7;
cabledia = 8.7;
-strap_w = 5;
+strap_w = 5
+ 1
;
strap_th = 4;
strap_pillar = 3;
strap_pillard = 5;
strap_over = 2;
strap_th = 4;
strap_pillar = 3;
strap_pillard = 5;
strap_over = 2;
+strap_every = 30;
+
// calculated
totx_outer = totx_inner + wallthick*2;
// calculated
totx_outer = totx_inner + wallthick*2;
@@
-149,6
+151,21
@@
module AtGlands(){
}
}
}
}
+module StrapKeepers(){
+ strap_x_tot = strap_w + strap_pillar*2;
+
+ for (sx=[strap_every : strap_every : totx_inner - strap_every]) {
+ echo("strapkeeper at ",sx);
+ translate([sx - strap_x_tot, 0, 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]);
+ }
+ }
+}
+
module Box(){ ////toplevel
$sealingbox_sz = sb_box_sz;
module Box(){ ////toplevel
$sealingbox_sz = sb_box_sz;
@@
-156,8
+173,6
@@
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])