chiark / gitweb /
poster-tube-lid: sloping bottom of catch tip
[reprap-play.git] / sealing-box.scad.m4
index 486d36bb660006b5665096e629ece22acd149e49..dbfb220f9519b7535a4ec66f16a40ce6d588b30b 100644 (file)
@@ -29,6 +29,7 @@
 
 $sealingbox_cnrrad = 10;
 $sealingbox_crude = false;
+$sealingbox_inner_slop = 0.2;
 
 m4_define(`BoxLocals',`
   xbox = $sealingbox_sz[0];
@@ -123,6 +124,8 @@ module SealingBox_LidProfile(){
   BoxLocals
   rad = tubesealrad + innertube;
   morex = wall;
+  inner_buttress_h = tubesealrad*1.5 + innertube + ceilth;
+
   difference(){
     translate([0, zbox + ceilth]) mirror([0,1]) {
       translate([-SealingBox_lidbigger(),
@@ -130,7 +133,7 @@ module SealingBox_LidProfile(){
       square([lidoverlap + innertube + tubesealrad,
              lidoverhang + innertube + ceilth]);
       square([tubesealrad*2 + innertube + lidoverlap,
-             tubesealrad*1.5 + innertube + ceilth]);
+             inner_buttress_h]);
     }
     hull(){
       translate([tubesealrad,
@@ -143,6 +146,13 @@ module SealingBox_LidProfile(){
        }
     }
   }
+  translate([tubesealrad*2 + $sealingbox_inner_slop,
+            zbox + ceilth]) {
+    mirror([0,1]) {
+      square([lidoverlap + innertube,
+             inner_buttress_h]);
+    }
+  }
 }
 
 module SealingBox_CeilProfile(){