chiark / gitweb /
belt-slot-cut-jig: wip punchholder
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Jun 2013 15:11:36 +0000 (16:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Jun 2013 15:11:36 +0000 (16:11 +0100)
belt-slot-cut-jig.scad

index 6c8d153..3e39d8d 100644 (file)
@@ -2,6 +2,9 @@
 
 crewpunch_slop = 0.3;
 
+holder_min_wall = 1;
+holder_front_wall = 5;
+
 // from careful measurement
 
 crewpunch_shape =
@@ -16,6 +19,17 @@ crewpunch_systematic_size_error = +0.36;
 
 crewpunch_min_y = 4.7 - crewpunch_systematic_size_error;
 
+// computed
+
+crewpunch_smallest_shape = crewpunch_shape[0];
+crewpunch_biggest_shape = crewpunch_shape[len(crewpunch_shape)-1];
+
+holder_block_zsz = crewpunch_biggest_shape[0] - crewpunch_smallest_shape[0];
+holder_xsz = crewpunch_biggest_shape[0][0] + crewpunch_biggest_shape[0][1] +
+  holder_min_wall*2;
+holder_ysz = crewpunch_biggest_shape[1][0] + crewpunch_biggest_shape[1][1] +
+  holder_min_wall + holder_front_wall;
+
 // objects
 
 module CrewPunch(){
@@ -36,4 +50,12 @@ module CrewPunch(){
   }
 }
 
-CrewPunch();
+module PunchHolder(){
+  difference(){
+    cube([holder_xsz, holder_ysz, holder_block_zsz]);
+    
+  }
+}
+       
+//CrewPunch();
+PunchHolder();