chiark / gitweb /
bike-lipo-box: Restore ts_cidoff (fix TestSealBox)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 22:09:19 +0000 (22:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 22:09:19 +0000 (22:09 +0000)
bike-lipo-box.scad
sealing-box.scad.m4

index 6056d61..f173f97 100644 (file)
@@ -88,6 +88,7 @@ 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);
 }
index 0202298..bf95021 100644 (file)
@@ -36,8 +36,6 @@ m4_define(`BoxLocals',`
   ceilth = $sealingbox_ceilth;
   cnrrad = $sealingbox_cnrrad;
 
-  ts_cidoff = (cnrrad * (1-.7) + wall * .8) * [1,1];
-
   xbox_lin = xbox - cnrrad*2;
   ybox_lin = ybox - cnrrad*2;
 ')