From ffa7a845301563d34757ed72559c84fa40acfe32 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Sep 2012 17:10:34 +0100 Subject: [PATCH] splitpin wip cavity --- splitpin.scad | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/splitpin.scad b/splitpin.scad index 6ef5bb3..1e38256 100644 --- a/splitpin.scad +++ b/splitpin.scad @@ -52,8 +52,22 @@ module SplitPin(w=1.5, holeminrad=3.5, thick=3, deviationrad=1.0, } module SplitPinCavity(w=1.5, holeminrad=3.5, thick=3, deviationrad=1.0, - mainlen=20) { - + mainlen=20, slop=0.5, insertby = 5) { + smallgap2 = holeminrad; + biggap2 = smallgap2 + deviationrad + slop; + toegap2 = w*1.5 + slop; + toeend = -mainlen-insertby; + +//translate([-biggap2, -thick/2, -mainlen-1]) + linear_extrude(height = thick + slop*2) { + polygon([[-biggap2, -insertby], [-biggap2, 1], + [biggap2, 1], [biggap2, -insertby], + [toegap2, toeend-1], [-toegap2, toeend-1]]); + } +// +// cube([biggap, thick, mainlen+2]); } -SplitPin(); +//SplitPin(); +//translate([30,0,0]) + SplitPinCavity(); -- 2.30.2