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=23a6b578a2642754fe3a0d8eb95f4e5f37b2e67a;hb=3c75c6575c9ec874afd93fe9d2e1c7f28390806f;hpb=9da71f9de35dbd763d96d76a3f4cecd6593b3885;ds=sidebyside diff --git a/sprinkler-spike-receptacle.scad b/sprinkler-spike-receptacle.scad index 23a6b57..c1ac3b5 100644 --- a/sprinkler-spike-receptacle.scad +++ b/sprinkler-spike-receptacle.scad @@ -20,8 +20,8 @@ mount_hole_th = 2.5; strap_height = main_height * 0.5; -strap_width = 6.0; -strap_thick = 3.0; +strap_width = 5.5; +strap_thick = 2.5; strap_around = 2.5; strap_fixing_height = 4.0; strap_fixing_slope = 1.0; @@ -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();