chiark / gitweb /
belt-hole-cut-jig-simple: ready?
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 May 2014 19:36:15 +0000 (20:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 May 2014 19:36:15 +0000 (20:36 +0100)
belt-hole-cut-jig-simple.scad

index 550102d..116665b 100644 (file)
@@ -17,7 +17,7 @@ roof_thick = 4;
 regblock_thick = 4;
 punchtube_thick = 2.5;
 
-total_h = 40;
+total_h = 33;
 punchfree_h = 8;
 
 reg_prot_width = 4;
@@ -43,7 +43,7 @@ module RegBlockOutline(){
 }
 
 module RegBlock(){
-  translate([0,0,total_h])
+  translate([regblock_thick/2,0,total_h])
     rotate([0,-90,0])
     linear_extrude(height=regblock_thick)
     RegBlockOutline();
@@ -54,8 +54,8 @@ module MainFrame(){
     mirror([1,0,0])
     cube([mainframe_l, mainframe_w, roof_thick]);
   for (rbi=[0:reg_blocks-1]) {
-    translate([jig_interval/2 +
-              -(mainframe_l-regblock_thick)/(reg_blocks-1) * rbi,
+    translate([0 +
+              -(mainframe_l-jig_interval)/(reg_blocks-1) * rbi,
               0,0])
       RegBlock();
   }
@@ -77,7 +77,7 @@ module Shells(){
 module Punches(){
   PerHole(){
     translate([0,0,-1]){
-      cylinder(r=punchhole_r, h=total_h+2);
+      cylinder(r=punchhole_r, h=total_h+2, $fn=100);
       %cylinder(r=punch_dia/2, h=total_h);
     }
   }