chiark / gitweb /
sealing-box: provide SealingBox_lidbigger (no caller yet)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:18:00 +0000 (00:18 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2016 00:18:00 +0000 (00:18 +0000)
sealing-box.scad.m4

index b821dc0caa288eceb9b4598b4e25cce99df0954a..40b4f6492a6ce75a3d503fadf9dc211d859bd686 100644 (file)
@@ -117,12 +117,14 @@ module SealingBox_FloorProfile(){
   mirror([0,1]) square([wall, floorth]);
 }
 
+function SealingBox_lidbigger() = lidoverlap + innertube;
+
 module SealingBox_LidProfile(){
   BoxLocals
   rad = tubesealrad + innertube;
   morex = wall;
   difference(){
-    translate([-lidoverlap - innertube,
+    translate([-SealingBox_lidbigger(),
               zbox - lidoverhang - innertube])
       square([lidoverlap + innertube + wall,
              lidoverhang + innertube + ceilth]);