X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=sprinkler-spike-receptacle.scad;h=c1ac3b5fc54adc2eb4c3e7747ff4e5184282f60f;hp=8f04b8f418e843cad7930f046c3b549b5d5c874b;hb=6562f4b2558c850a0c98b71971b2569b401d4a95;hpb=e6c9646b26b36da937a9e427fdee0372bf23c234 diff --git a/sprinkler-spike-receptacle.scad b/sprinkler-spike-receptacle.scad index 8f04b8f..c1ac3b5 100644 --- a/sprinkler-spike-receptacle.scad +++ b/sprinkler-spike-receptacle.scad @@ -98,29 +98,31 @@ module FixingsPositive(){ mount_height ]); // strap - translate([main_width/2, 0, strap_height]) { - hull(){ - translate([ -strap_around, - -pos_web_thick/2, - -(strap_thick + strap_around) / strap_fixing_slope ]) - cube([ strap_around, - pos_web_thick/2 - strap_width/2, - 0.5 ]); - translate([ -strap_around, - -(strap_around + strap_width/2), - 0 ]) - cube([ strap_around*2 + strap_thick, - strap_around, - strap_fixing_height ]); + for (m=[0,1]) mirror([0,m,0]) { + translate([main_width/2, 0, strap_height]) { + hull(){ + translate([ -strap_around, + -pos_web_thick/2, + -(strap_thick + strap_around) / strap_fixing_slope ]) + cube([ strap_around, + pos_web_thick/2 - strap_width/2, + 0.5 ]); + translate([ -strap_around, + -(strap_around + strap_width/2), + 0 ]) + cube([ strap_around*2 + strap_thick, + strap_around, + strap_fixing_height ]); + } + mirror([0,1,0]) + translate([ strap_thick, + -strap_width/2, + 0 ]) + cube([ strap_around, + strap_around + strap_width, + strap_fixing_height ]); + } } - mirror([0,1,0]) - translate([ strap_thick, - -strap_width/2, - 0 ]) - cube([ strap_around, - strap_around + strap_width, - strap_fixing_height ]); - } } module FixingsNegative(){ @@ -185,5 +187,14 @@ module Tests(){ MainFitTest(); } +module StrapFixingTest(){ + intersection(){ + Main(); + translate([ -10, -10, 40 ]) + cube([ 20, 40, 15 ]); + } +} + //Tests(); +//StrapFixingTest(); Main();