chiark / gitweb /
belt-slot-cut-jig: introduce holder_skewangle_yextra, nfc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 13 Jun 2013 23:10:25 +0000 (00:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 13 Jun 2013 23:28:32 +0000 (00:28 +0100)
belt-slot-cut-jig.scad

index b1532ea..a89a071 100644 (file)
@@ -68,9 +68,11 @@ holder_block_zsz = crewpunch_biggest_shape[0] - crewpunch_smallest_shape[0];
 holder_xsz = crewpunch_biggest_shape[2][0] + crewpunch_biggest_shape[2][1] +
   holder_min_wall*2;
 
+holder_skewangle_yextra = holder_xsz/2 * sin(abs(crewpunch_skew_angle));
+
 holder_front_all = crewpunch_shaft_max_y - crewpunch_biggest_shape[1][0]
   + attach_ysz + crewpunch_systematic_size_error + crewpunch_skew_yoff
-  + holder_xsz/2 * sin(abs(crewpunch_skew_angle));
+  + holder_skewangle_yextra;
 
 crewpunch_biggest_y =
   crewpunch_biggest_shape[1][0] + crewpunch_biggest_shape[1][1];