I newly built a 4th axis trunnion for milling blocks of foam. I use rhinocam and the mach3 post processor. I'm having problems with the long foam mill end colliding with the stock when rotation the stock. I use particularly long mill ends and obviously have to take extra care with them, see pic

as a test I am running a test doing a test rough and retract, then a 45 counter clockwise rotation of the trunnion/stock, move to start and test rough, retract and then a 45 clockwise rotation of the trunnion/stock etc. What I can see is that the tool will collide with the stock.

What it looks like I need to do is move the tool away from the stock, then rotate it and move the too back. Alternaitvely I could have the stock and tool move in a syncronised movement avoiding each other.

My question is how do I do this. Is it setup in my Mach3 controller or the Mach3 post processer in Rhinocam or somewhere else?

Thanks

Attachment 467080