X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=osstest-arm-net-bracket.scad;h=4eccb829d140e57cffab36e493888fbf76ac5fdc;hp=21cc748adacf43a0463a77750d396c8e2f143f4d;hb=08244f158ace5b0e9f6186e64cb83924107ecbd7;hpb=ca114e8a94848a3ae033c801bbbb282a8a871c96 diff --git a/osstest-arm-net-bracket.scad b/osstest-arm-net-bracket.scad index 21cc748..4eccb82 100644 --- a/osstest-arm-net-bracket.scad +++ b/osstest-arm-net-bracket.scad @@ -2,7 +2,9 @@ holedist = 64; tonguewidth = 10; +tongue2width = 15; totaldepth = 26; +tongue2depth = 35; thick = 3; tabover = 7; tabunder = 15; @@ -10,18 +12,23 @@ tabunder = 15; tabside = 7; tonguethick = 4; +tongue2thick = 5; strapthick = 2; strapwidth = 5; ridgewidth = 2; holedia = 3.5; -module Tongue(tw,tt,ad){ +tongue2x = tongue2width - holedist; + +module Tongue(tw,tt,ad,slots=2){ + y0=thick+0.1; + yn=ad-ridgewidth-strapwidth; difference(){ translate([-tw, 0, 0]) cube([tw, ad, tt+strapthick]); - for (y=[thick+0.1, totaldepth-ridgewidth-strapwidth]) - translate([-tw-1, y, tt]) + for (yi=[0:slots-1]) + translate([-tw-1, y0 + (yn-y0)*yi/(slots-1), tt]) cube([tw+2, strapwidth, strapthick+1]); } } @@ -36,6 +43,8 @@ module Object(){ cylinder(r= holedia/2+0.5, h=thick+2, $fn=20); } Tongue(tonguewidth,tonguethick,totaldepth); + translate([tongue2x,0,0]) + Tongue(tongue2width,tongue2thick,tongue2depth+thick); } Object();