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=b844751efd773c90b0b705c619f72a8ae84df03f;hb=77c39f4394b1ede3825b88234a0d9832cc6d3b78;hpb=eba351897f10d66bf639aabceb6c12ec3662fc8a diff --git a/sprinkler-spike-receptacle.scad b/sprinkler-spike-receptacle.scad index b844751..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,22 +98,31 @@ module FixingsPositive(){ mount_height ]); // strap - translate([main_width, -strap_width/2, 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, - 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 ]); + } } - } } module FixingsNegative(){ @@ -178,5 +187,14 @@ module Tests(){ MainFitTest(); } +module StrapFixingTest(){ + intersection(){ + Main(); + translate([ -10, -10, 40 ]) + cube([ 20, 40, 15 ]); + } +} + //Tests(); +//StrapFixingTest(); Main();