12-02-2020, 12:51 AM
Hello, is there any way to reverse the order of all of the lines of a program automatically? I am looking to reverse the weld order of a program, and do not want to have to manually reorder the program.
Reverse a Program |
12-02-2020, 12:51 AM
Hello, is there any way to reverse the order of all of the lines of a program automatically? I am looking to reverse the weld order of a program, and do not want to have to manually reorder the program.
Hi Andrew,
We don't have a feature to reverse a program built-in RoboDK unfortunately. But I don't think it would be very hard to code in Python. It's just a matter of picking all the commands and reversing them. The only "tricky part" is to reposition the "set frame", "set tool", "set speed" properly as brainlessly inverting those commands won't work. You can either automate that part or do it manually. Here's a very good example you can use as a starting point. https://robodk.com/doc/en/PythonAPI/exam...structions Let me know if you need help. Jeremy
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel.
|
Users browsing this thread: |
1 Guest(s) |