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 6056d61304db0732715ff7caf9d77d3a4c11a640..f173f9715aeba0158d96304b6eedf7d01b8a6978 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 0202298a02f45e61b87217fa29cc2fb01d28a925..bf950218f793d6af73d35aeb2cfdbfd2f26f6ce2 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;
 ')