From: Ian Jackson Date: Thu, 13 Jun 2013 23:20:22 +0000 (+0100) Subject: belt-slot-cut-jig: crewpunch_skew_yoff is broken; rename old variable and set to... X-Git-Tag: filamentspool-v2-release~473 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=4435b0b0d5368595cf0f79bb644154ea6f493c34 belt-slot-cut-jig: crewpunch_skew_yoff is broken; rename old variable and set to 0 while we rework --- diff --git a/belt-slot-cut-jig.scad b/belt-slot-cut-jig.scad index a89a071..1b3b3c8 100644 --- a/belt-slot-cut-jig.scad +++ b/belt-slot-cut-jig.scad @@ -58,6 +58,7 @@ crewpunch_smallest_shape = crewpunch_shape[0]; crewpunch_biggest_shape = crewpunch_shape[len(crewpunch_shape)-1]; crewpunch_skew_angle = 3.5; //degrees +crewpunch_skew_yoff_broken = 0; //mm crewpunch_skew_yoff = -1.1; //mm // computed @@ -71,13 +72,13 @@ holder_xsz = crewpunch_biggest_shape[2][0] + crewpunch_biggest_shape[2][1] + 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 + + attach_ysz + crewpunch_systematic_size_error + crewpunch_skew_yoff_broken + holder_skewangle_yextra; crewpunch_biggest_y = crewpunch_biggest_shape[1][0] + crewpunch_biggest_shape[1][1]; holder_ysz = crewpunch_biggest_y + holder_min_wall + holder_front_all - + max(0, -crewpunch_skew_yoff); + + max(0, -crewpunch_skew_yoff_broken); attach_offset = 0.5 * (holder_front_all - holder_attach_near_wall); @@ -118,7 +119,7 @@ module PunchHolder(cutouts=true){ translate([0,attach_offset,0]) cube([holder_xsz, holder_ysz - attach_offset, holder_block_zsz]); if (cutouts) - translate([0,-crewpunch_skew_yoff]) + translate([0,-crewpunch_skew_yoff_broken]) translate(-translations) rotate([0,0,-crewpunch_skew_angle]) translate(translations)