X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=sealing-box.scad.m4;h=dbfb220f9519b7535a4ec66f16a40ce6d588b30b;hp=b821dc0caa288eceb9b4598b4e25cce99df0954a;hb=9f21563a34c99c15c3adcd2a72ab0da7cf741bbe;hpb=2989133828e6ada0e4983666dd47f7a6c8538eb9 diff --git a/sealing-box.scad.m4 b/sealing-box.scad.m4 index b821dc0..dbfb220 100644 --- a/sealing-box.scad.m4 +++ b/sealing-box.scad.m4 @@ -29,6 +29,7 @@ $sealingbox_cnrrad = 10; $sealingbox_crude = false; +$sealingbox_inner_slop = 0.2; m4_define(`BoxLocals',` xbox = $sealingbox_sz[0]; @@ -117,20 +118,27 @@ module SealingBox_FloorProfile(){ mirror([0,1]) square([wall, floorth]); } +function SealingBox_lidbigger() = lidoverlap + innertube; + module SealingBox_LidProfile(){ BoxLocals rad = tubesealrad + innertube; morex = wall; + inner_buttress_h = tubesealrad*1.5 + innertube + ceilth; + difference(){ - translate([-lidoverlap - innertube, - zbox - lidoverhang - innertube]) - square([lidoverlap + innertube + wall, + translate([0, zbox + ceilth]) mirror([0,1]) { + translate([-SealingBox_lidbigger(), + 0]) + square([lidoverlap + innertube + tubesealrad, lidoverhang + innertube + ceilth]); + square([tubesealrad*2 + innertube + lidoverlap, + inner_buttress_h]); + } hull(){ translate([tubesealrad, zbox - innertube - tubesealrad]) for (t=[ [0,0], - [morex*2, 0], [0, -zbox] ]) { translate(t) @@ -138,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(){