Hey there
As I am trying to improve a postprocessor for a specific robot model, I had to find out how exactly a robot program is being generated.
In my example I only work with a python-script, which has classes and functions. This script ist then generated via Generate robot program (F6) with a specific post processor.
I already found out, that roboDK.exe creates a temporary file in the C:\AppData\Local\Temp\Post%Projectname%.py which is called to create the robot program with the selected postprocessor. In this temp file, all of the movements are listed linear and classes and functions are already translated into this linear format. (This is also explained in the documentation: https://robodk.com/doc/en/Post-Processor...efPostProc)
But I was wondering where the step from the RoboDK-python-script with classes and functions to the linear independent temp file is made. And is this even manipulatable? Where does RoboDK takes the information about which robot is used, which frame is selected etc.?
I'm thankful for any information!
Janis
As I am trying to improve a postprocessor for a specific robot model, I had to find out how exactly a robot program is being generated.
In my example I only work with a python-script, which has classes and functions. This script ist then generated via Generate robot program (F6) with a specific post processor.
I already found out, that roboDK.exe creates a temporary file in the C:\AppData\Local\Temp\Post%Projectname%.py which is called to create the robot program with the selected postprocessor. In this temp file, all of the movements are listed linear and classes and functions are already translated into this linear format. (This is also explained in the documentation: https://robodk.com/doc/en/Post-Processor...efPostProc)
But I was wondering where the step from the RoboDK-python-script with classes and functions to the linear independent temp file is made. And is this even manipulatable? Where does RoboDK takes the information about which robot is used, which frame is selected etc.?
I'm thankful for any information!
Janis