Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Generating a robot program that uses python code

#1
I am using a 30 trail version of this software. In my Kuka station, I have a Python script (called MyRobotScript) and regular program that calls the python script. When I click "Generate robot program" on the regular program, a file called "prog2.scr" shows up in my "Documents\RoboDK" folder. This file contains an external call to MyRobotScipt:
Code:
;External program calls:
EXT MyRobotScript()

Code:
;程序由RoboDK v5。1.2 for KUKA KR 20 R1810 on 18/11/2020 16:45:33
;Using nominal kinematics.
MyRobotScript()
END
I am wondering where the "MyRobotScript" external program is located. I don't see any other files in the "Documents\RoboDK" folder.

Also if I right click on the python script and click "Generate robot program", message shows up at the bottom saying "Running Python script...". This message never goes away and no script is generated as far as I can see.

In options, my python interpreter is:
Quote:C:\Users\[My Name]\AppData\Local\Programs\Python\Python39\pythonw.exe


Messages In This Thread
Generating a robot program that uses python code - bypetsven- 11-18-2020, 10:12 PM



Users browsing this thread:
1 Guest(s)