chiark / gitweb /
sealing-box: document origin
[reprap-play.git] / bike-lipo-box.scad
index c036d8c33f17616649662f857da5a0259ef629fe..5d1f52bee9d490b4bba7772b0b3f535171a240d7 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;
@@ -73,16 +74,14 @@ toty_outer = 25;
 totz_inner = 8;
 
 $sealingbox_wallth = wallthick;
-$sealingbox_floorth = 2.5;
-$sealingbox_ceilth = 2.5;
+$sealingbox_floorth = wallthick;
+$sealingbox_ceilth = wallthick;
 $sealingbox_xbox = totx_outer;
 $sealingbox_ybox = toty_outer;
 $sealingbox_zbox = totz_inner;
 
-include <sealing-box.scad>
-
 module TestSealBox(){ ////toplevel
-  TestSealBoxBox();
+  SealingBox_RectBox();
   ts_cidoff = ($sealingbox_cnrrad * (1-.7) + wallthick * .8) * [1,1];
   translate(ts_cidoff)
     Commitid_BestCount([totx_outer,toty_outer] - 2*ts_cidoff);
@@ -90,7 +89,7 @@ module TestSealBox(){ ////toplevel
 
 module TestSealLid(){ ////toplevel
   difference(){
-    TestSealBoxLid();
+    SealingBox_RectLid();
 
     translate([totx_outer * .75, toty_outer/2, 0])
       cylinder(h=100, r=5);