Due to the great interest I wrote Mach3 postprocessor 4axis (Solidcam).
In the attached example nc program.
[email protected]