OK…
The rd-file is a binary file, i.e. not a regular text file, but the Autodesk CAM Post Processor engine doesn’t seem to give me that option. It only writes text. Hence, a second step is needed.
Bummer!
There is a BinaryFile class, but it seems like I just have access to the PostProcessor class . Is there any way to evoke functions from other classes? I have to ask the Autodesk CAM-team if there is any way to do it.
I should have thought about this from the start. Then I would have chosen a different path.
It would be nice if a second step could be avoided. You can launch a local converting script, written in python for example. However, this is not straightforward solution since you would need to install the script.
I’ll be back….