Hmm, thats a leap forward, not hand-coded anything yet ;)

Once the refs are made - end for X and centre of rod for Y, i can see saving them as offsets - they will not change unless the vise is moved which does not happen too often. So i just need to figure the path out i guess.

The manual ones i cut in one pass, its a little heavy on the tool but works ok, with automation i would likely use two passes as the steel is harder than plain mild.