chiark / gitweb /
tube-crossdrill-jig wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 May 2013 23:07:41 +0000 (00:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 May 2013 23:07:41 +0000 (00:07 +0100)
tube-crossdrill-jig.scad

index a7f35b2..55d8183 100644 (file)
@@ -28,6 +28,8 @@ keepslotwidth = 4;
 mainframeextraside = 15;
 mainframeextrafront = 25;
 
+rearwallstrengthwidth = 10;
+
 // computed values
 
 mainframeholex = backslotedgespace/2 + slotwidth/sqrt(2) +
@@ -46,12 +48,15 @@ module MainFrame(){
        cube([mainframemaxx+1, -mainframeminy, basethick]);
       translate([-1, -rearwallthick, 0])
        cube([mainframemaxx+1, rearwallthick, mainframemaxz]);
-      translate([mainframemaxx,0,0])
-       rotate([90,0,-90])
-       linear_extrude(height=mainframeendthick)
-       polygon([[-mainframeminy, 0],
-                [0, mainframemaxz],
-                [0, 0]]);
+
+      for (x=[keepslotx - 10, mainframemaxx]) {
+       translate([x,0,0])
+         rotate([90,0,-90])
+         linear_extrude(height=mainframeendthick)
+         polygon([[-mainframeminy, 0],
+                  [0, mainframemaxz],
+                  [0, 0]]);
+      }
 
       translate([backslotedgespace/2, 0, 1])
        mirror([0,0,1])
@@ -66,7 +71,7 @@ module MainFrame(){
                 tubedia + tubetubetopslop + tubetubethick + 4])
        cube([keepslotx - 10 + 1,
              boltholeslotshorter + 0.5,
-             3]);
+             rearwallstrengthwidth]);
     }
   }
 }