From: Ian Jackson Date: Sat, 25 May 2013 14:49:28 +0000 (+0100) Subject: tube-crossdrill-jig: move mainframe holes to middle of slots X-Git-Tag: filamentspool-v2-release~565 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=29e09ec262cc95049180dea009757b5a036cf52e;p=reprap-play.git tube-crossdrill-jig: move mainframe holes to middle of slots --- diff --git a/tube-crossdrill-jig.scad b/tube-crossdrill-jig.scad index 4e80849..72da7c0 100644 --- a/tube-crossdrill-jig.scad +++ b/tube-crossdrill-jig.scad @@ -47,10 +47,11 @@ slotwidthx = slotwidth * slotslopediag; slotxperlen = slotslope / slotslopediag; slotyperlen = 1 / slotslopediag; -mainframeholex = backslotedgespace/2 + slotwidth/sqrt(2) + - backslotmid2screwhole / sqrt(2); +mainframeholex = backslotedgespace/2 + slotpluglongerlen * slotxperlen + + 0.5 * slotwidth * slotyperlen; -mainframeholey = -backslotmid2screwhole / sqrt(2); +mainframeholey = -slotpluglongerlen * slotyperlen + + 0.5 * slotwidth * slotxperlen; mainframemaxx = mainframeholex + mainframeextraside; mainframeminy = mainframeholey - mainframeextrafront;