491
General Mach Discussion / Re: Pocket Wizard by Brian / Kiran
« on: January 21, 2011, 09:05:52 PM »
it looks pretty easy to fix. Use the edit button script menu to edit the POST CODE button.
near the bottom of the code are two subs, that start like this
Add the variable Zjob to these lines, like
I have not tested this, but it looks like it ought to work.
near the bottom of the code are two subs, that start like this
Code: [Select]
Sub Finish_ClimbMill(Xpos, Ypos, length, Width, DEPTH, RadTool, finishamount, FeedPlunge, FeedRough, Feedfinish)
Code "X" & Xpos + length / 2 & " Y" & Ypos - finishamount * 2 - RadTool
Code "G0 Z" & (-1 * DEPTH) + Clearance
Code "G01 Z" & (-1 * DEPTH) & " F" & FeedPlunge
Add the variable Zjob to these lines, like
Code: [Select]
Code "G0 Z" & Zjob-(-1 * DEPTH) + Clearance
Code "G01 Z" & Zjob-(-1 * DEPTH) & " F" & FeedPlunge
Do the same for the Finish_ConvMill subI have not tested this, but it looks like it ought to work.