X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=splitpin.scad;h=fc2fe627a0330d214906ce3713417ca558370a1e;hb=4107a824f9108a3a4903f94f117219937550dc15;hp=b8ecf1da9b343d05a51d49db39c4b08e78b79452;hpb=2c35b2a06e88a3628b1dfe3c6f95d24d44c90673;p=reprap-play.git diff --git a/splitpin.scad b/splitpin.scad index b8ecf1d..fc2fe62 100644 --- a/splitpin.scad +++ b/splitpin.scad @@ -6,8 +6,8 @@ tau = 6.28318530718; function deg2rad(deg) = deg/360 * tau; function rad2deg(rad) = rad/tau * 360; -module SplitPin(w=0.8, holeminrad=2.50, thick=3, deviationrad=1.0, - mainlen=10, handlerad=10, handlelen=7) { +module SplitPin(w=1.5, holeminrad=3.00, thick=3, deviationrad=1.5, + mainlen=15, handlerad=20, handlelen=12) { spare = holeminrad - deviationrad - w; echo("splitpin spare",spare); %translate([0,mainlen+handlelen,0]) cylinder(r=spare, h=thick); @@ -51,8 +51,8 @@ module SplitPin(w=0.8, holeminrad=2.50, thick=3, deviationrad=1.0, } } -module SplitPinCavity(w=0.8, holeminrad=2.50, thick=3, deviationrad=1.0, - mainlen=10, slop=0.5, insertby = 5) { +module SplitPinCavity(w=1.5, holeminrad=3.00, thick=3, deviationrad=1.5, + mainlen=15, slop=0.5, insertby = 5) { smallgap2 = holeminrad; biggap2 = smallgap2 + deviationrad + slop; toegap2 = w*1.5 + slop; @@ -62,7 +62,7 @@ module SplitPinCavity(w=0.8, holeminrad=2.50, thick=3, deviationrad=1.0, linear_extrude(height = thick + slop*2) { for (xmir=[0,1]) mirror([xmir,0]) { polygon([[-0.1, 1], - [biggap2, 1], + [(smallgap2+biggap2)/2, 1], [smallgap2, -insertby], [biggap2, -insertby], [toegap2, toeend-1], @@ -73,5 +73,5 @@ module SplitPinCavity(w=0.8, holeminrad=2.50, thick=3, deviationrad=1.0, } SplitPin(); -translate([0,30,0]) - SplitPinCavity(); +//translate([0,30,0]) +// SplitPinCavity();