Originally Posted by georgjorge
could anyone tell me how to generate G-code for the 4th axle in Mach3? What I would like to do is to turn an item (like on lathe) which is fastened horizontally into the round table. I am using SheetCam TNG for milling, but there is no way to generate code for the 4th axle.
There is a solution for rotary cutting with Sheetcam but it might not give you lathe capability. You need to unwrap the design so it is a flat image the same length as the circumference. There is software that will do that. Then you just reconfigure your system so the travel distance is based on the circumference per revolution.
If you just want continuous turning on the 4th axis, you could consider plugging your 4th axis into an Arduino and use my controller sketch which supports Continuous turning.