Posts: 2
Threads: 1
Joined: Oct 2020
Reputation:
0
10-14-2020, 07:27 AM
(This post was last modified: 10-14-2020, 07:37 AM by wcherif.)
Hello, i wanted to know how i can convert a main program into a python script which is executable by RoboDK to be able to modify it after, i tried with post processor with some post processor (kuka krc2) i could generate a python script but when i'm trying to emport the script and run it on RoboDk,the script doesn't work
Thank you for your help
Posts: 1,829
Threads: 2
Joined: Oct 2018
Reputation:
74
Hi wcherif,
I'm not 100% sure that I understand what is your end goal here, but here's something you could be interested in.
Any time you generate a program using RDK, it will first create a .py version of the program in your Temp folder (reach it quickly by typing %Temp% in your file explorer).
It will be named "PostNameoftheprogram.py".
It includes the Python format of every robot commands in the generated program.
You can then just open it and grab the right snippet of code.
Jeremy