From 1c1a5489fb3e69a50b9ae2e039c4e175866073ca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Sep 2012 17:16:49 +0100 Subject: [PATCH] splitpin good cavity --- splitpin.scad | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/splitpin.scad b/splitpin.scad index 1e38256..931eb00 100644 --- a/splitpin.scad +++ b/splitpin.scad @@ -58,16 +58,20 @@ module SplitPinCavity(w=1.5, holeminrad=3.5, thick=3, deviationrad=1.0, 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]]); + translate([0,thick/2,0]) rotate([90,0,0]) { + linear_extrude(height = thick + slop*2) { + for (xmir=[0,1]) mirror([xmir,0]) { + polygon([[-0.1, 1], + [biggap2, 1], + [smallgap2, -insertby], + [biggap2, -insertby], + [toegap2, toeend-1], + [-0.1, toeend-1]]); + } + } } -// -// cube([biggap, thick, mainlen+2]); } -//SplitPin(); -//translate([30,0,0]) +SplitPin(); +translate([30,0,0]) SplitPinCavity(); -- 2.30.2