chiark / gitweb /
belt-slot-cut-jig: cope with rotational skew of punch
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 12 Jun 2013 22:36:39 +0000 (23:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 12 Jun 2013 22:36:39 +0000 (23:36 +0100)
belt-slot-cut-jig.scad

index 68b5b708878e426217d4f78247fb25239a67d226..5fb91139a414dfe0168765cc170d5d1d93787cc4 100644 (file)
@@ -59,6 +59,8 @@ crewpunch_min_y = 4.7 - crewpunch_systematic_size_error;
 crewpunch_smallest_shape = crewpunch_shape[0];
 crewpunch_biggest_shape = crewpunch_shape[len(crewpunch_shape)-1];
 
 crewpunch_smallest_shape = crewpunch_shape[0];
 crewpunch_biggest_shape = crewpunch_shape[len(crewpunch_shape)-1];
 
+crewpunch_skew_angle = 2.0; //degrees
+
 // computed
 
 attach_ysz = holder_attach_walls*2 + holder_ctie_width;
 // computed
 
 attach_ysz = holder_attach_walls*2 + holder_ctie_width;
@@ -111,6 +113,9 @@ module PunchHolder(cutouts=true){
       translate([0,attach_offset,0])
        cube([holder_xsz, holder_ysz - attach_offset, holder_block_zsz]);
       if (cutouts)
       translate([0,attach_offset,0])
        cube([holder_xsz, holder_ysz - attach_offset, holder_block_zsz]);
       if (cutouts)
+       translate(-translations)
+       rotate([0,0,-crewpunch_skew_angle])
+       translate(translations)
        translate([crewpunch_biggest_shape[2][0] + holder_min_wall,
                   crewpunch_biggest_shape[1][0] + holder_front_all,
                   -crewpunch_smallest_shape[0]])
        translate([crewpunch_biggest_shape[2][0] + holder_min_wall,
                   crewpunch_biggest_shape[1][0] + holder_front_all,
                   -crewpunch_smallest_shape[0]])