chiark / gitweb /
belt-slot-cut-jig: pad +ve y of holder with relevant sign of skew yoff
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 13 Jun 2013 19:06:38 +0000 (20:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 13 Jun 2013 19:06:38 +0000 (20:06 +0100)
belt-slot-cut-jig.scad

index 91512c6..45be678 100644 (file)
@@ -74,7 +74,8 @@ holder_front_all = crewpunch_shaft_max_y - crewpunch_biggest_shape[1][0]
 
 crewpunch_biggest_y =
   crewpunch_biggest_shape[1][0] + crewpunch_biggest_shape[1][1];
-holder_ysz = crewpunch_biggest_y + holder_min_wall + holder_front_all;
+holder_ysz = crewpunch_biggest_y + holder_min_wall + holder_front_all
+  + max(0, -crewpunch_skew_yoff);
 
 attach_offset = 0.5 * (holder_front_all - holder_attach_near_wall);