chiark / gitweb /
sealing-box, bike-lipo-box: move remaining sealing-box vars out of bike-lipo-box
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 22:10:48 +0000 (22:10 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Feb 2016 22:10:48 +0000 (22:10 +0000)
bike-lipo-box.scad
sealing-box.scad.m4

index f173f9715aeba0158d96304b6eedf7d01b8a6978..c036d8c33f17616649662f857da5a0259ef629fe 100644 (file)
@@ -79,11 +79,6 @@ $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
index bf950218f793d6af73d35aeb2cfdbfd2f26f6ce2..2ffc6303ef44f183819785d706e5c19af0522af9 100644 (file)
@@ -38,6 +38,11 @@ m4_define(`BoxLocals',`
 
   xbox_lin = xbox - cnrrad*2;
   ybox_lin = ybox - cnrrad*2;
+
+  innertube = 1.0 + 0.2;
+  lidoverlap = 1.5;
+  lidoverhang = 6;
+  tubesealrad = 2.0;
 ')
 
 m4_dnl Box_Part($1=transl_x,$2=transl_y, $3=rot_z,$4=mirror_xy)