chiark / gitweb /
tube-crossdrill-jig wip
[reprap-play.git] / tube-crossdrill-jig.scad
index 4293f5b002c7c82c7d0d96a227a01cfcf5de04a3..971c5689bfbfc893337f490fdcd2dc070517716f 100644 (file)
@@ -9,6 +9,7 @@ tubetubethick=2;
 tubetubetopslop=1;
 
 boltholedia = 6.5 + 0.5;
+mainframeholedia = 5 + 0.5;
 
 // "slot" refers to the things in the base of the drill press stand
 backslotedgespace = 71;
@@ -20,6 +21,8 @@ slotplugdepth = 10;
 // "keepslot" refers to the screws in the wooden jig block
 keepslotstartz = 20;
 keepslotlen = 25;
+keepslotx = backslotedgespace / 2;
+keepslotwidth = 4;
 
 mainframeextraside = 15;
 mainframeextrafront = 25;
@@ -82,9 +85,17 @@ module Jig(){
       translate([0,0,-0.1])
        TubeThing(10, tubedia, 0, 5);
       translate([-boltholedia/2, mainframeminy - 1, -5])
-       cube([boltholedia, -mainframeminy + 1 - rearwallthick - 0.1,
+       cube([boltholedia,
+             -mainframeminy + 1 - rearwallthick - 0.1,
              mainframemaxz + 10]);
       for (m=[0,1]) {
+       mirror([m,0,0]) {
+         translate([mainframeholex, mainframeholey, -30])
+           cylinder(h=basethick+40, r=mainframeholedia/2);
+         translate([keepslotx - keepslotwidth/2,
+                    -10, keepslotstartz])
+           cube([keepslotwidth, 20, keepslotlen + 10]);
+       }
       }
     }
   }