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:
e8da242
)
bike-lipo-box: wip commitid on base
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2016 01:13:30 +0000
(
01:13
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2016 01:13:30 +0000
(
01:13
+0000)
bike-lipo-box.scad.m4
patch
|
blob
|
history
diff --git
a/bike-lipo-box.scad.m4
b/bike-lipo-box.scad.m4
index da97cd4e04327cd1771327beb3c6a4faf8dd1c51..74bfcc568472da411818f52941df3fbc4b45528d 100644
(file)
--- a/
bike-lipo-box.scad.m4
+++ b/
bike-lipo-box.scad.m4
@@
-68,6
+68,8
@@
ts_ybox = 25;
ts_cnrrad = 10;
ts_zbox = 8;
+ts_cidoff = (ts_cnrrad * (1-.7) + wallthick * .8) * [1,1];
+
m4_dnl Box_Part($1=transl_x,$2=transl_y, $3=rot_z,$4=mirror_xy)
m4_dnl $5=kind, $6=kindargs, $7=profile(profileargsargs))
m4_define(`Box_Part',`
@@
-166,6
+168,8
@@
module CeilProfile(){
module TestSealBox(){ ////toplevel
TestSealDoBoxShape(WallProfile(););
hull(){ TestSealDoBoxShape(FloorProfile();); }
+ translate(ts_cidoff)
+ Commitid_BestCount([ts_xbox,ts_ybox] - 2*ts_cidoff);
}
module TestSealLid(){ ////toplevel