chiark / gitweb /
bike-lipo-box: move include of sealing-box to top
[reprap-play.git] / bike-lipo-box.scad
index 6056d61304db0732715ff7caf9d77d3a4c11a640..f71d1e83e0463fc0fd1d36ec1929e9a0f4f8b586 100644 (file)
@@ -2,6 +2,7 @@
 
 include <commitid.scad>
 include <utils.scad>
+include <sealing-box.scad>
 
 pxp6012_rad = 22.5 / 2 + 0.5; // make circular hole this size in outer wall
 pxp6012_rad_outer = 32.0 / 2 - 0.5;
@@ -79,15 +80,9 @@ $sealingbox_xbox = totx_outer;
 $sealingbox_ybox = toty_outer;
 $sealingbox_zbox = totz_inner;
 
-innertube = 1.0 + 0.2;
-lidoverlap = 1.5;
-lidoverhang = 6;
-tubesealrad = 2.0;
-
-include <sealing-box.scad>
-
 module TestSealBox(){ ////toplevel
   TestSealBoxBox();
+  ts_cidoff = ($sealingbox_cnrrad * (1-.7) + wallthick * .8) * [1,1];
   translate(ts_cidoff)
     Commitid_BestCount([totx_outer,toty_outer] - 2*ts_cidoff);
 }