this is really strange i measure all my tools but on the last one when it was doing the medium loop it raised the machine up till it was out of envelope.
any suggestions? can i just add a negative to the z value in line 87?
please see attached program file