chiark / gitweb /
splitpin wip cavity
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 16:10:34 +0000 (17:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 16:10:34 +0000 (17:10 +0100)
splitpin.scad

index 6ef5bb3..1e38256 100644 (file)
@@ -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();