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:
35fe863
)
bike-lipo-box: adjustments from #1306: lipo keeper RH: prep for taller (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 17:32:47 +0000
(17:32 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 17:32:47 +0000
(17:32 +0000)
bike-lipo-box.scad
patch
|
blob
|
history
diff --git
a/bike-lipo-box.scad
b/bike-lipo-box.scad
index 6c6961b61aa30a814d0866dabccc65ea1254d5ec..e2e673a9f66245d4569e5163a57fba0d83c72984 100644
(file)
--- a/
bike-lipo-box.scad
+++ b/
bike-lipo-box.scad
@@
-196,14
+196,18
@@
module Box(){ ////toplevel
S1930_Positive();
// keepers for lipo
S1930_Positive();
// keepers for lipo
- for (keepers= [[ 40, lipokeeper_d_min, [ 10, 40, 80, 120 ] ],
- [ 20, lipokeeper_end_d_min, [ 135 ] ] ])
- for (kx= keepers[2]) {
+ for (keepers= [[ 40, lipokeeper_d_min, lipokeeper_h,
+ [ 10, 40, 80, 120 ] ],
+ [ 20, lipokeeper_end_d_min, lipokeeper_h,
+ [ 135 ] ]
+ // each entry: [ y, d_min, h, [ x, ...] ]
+ ])
+ for (kx= keepers[3]) {
translate([kx, keepers[0], -1])
hull(){
translate([kx, keepers[0], -1])
hull(){
- cube([lipokeeper_w, keepers[1],
lipokeeper_h
+1]);
+ cube([lipokeeper_w, keepers[1],
keepers[2]
+1]);
cube([lipokeeper_w,
cube([lipokeeper_w,
- keepers[1] +
lipokeeper_h
/ lipokeeper_slope,
+ keepers[1] +
keepers[2]
/ lipokeeper_slope,
1]);
}
}
1]);
}
}