Hi all,
I'm working my way through the documentation and have a few very simple questions that I can't find an explict answer to in the documentation. It's probably so simple that it was never documented but I'm having a really tough time figuring it out and it's consuming more time than I currently have. :(
I'm trying the program events for 3D printing, and when the E Value appears in the Gcode the program event "Call Extruder('EValue')" appears in the instructions.
I then want to create a python script that to begin with should just print the EValue of that specific Program Event or save it to at text file on the Desktop.
So for example if I have a Robot Program with the instructions list:
MoveL 1
Call Extruder(5)
MoveL 2
Call Extruder(10)
I want it to print 5 somewhere after the first move and then 10 after the second move. How do I handle the input from the program event? And where does it print to? How could I save the input to a text file? The Problem I'm having is less with the Python commands and more with how they interact with the RoboDK Program.
I'm working my way through the documentation and have a few very simple questions that I can't find an explict answer to in the documentation. It's probably so simple that it was never documented but I'm having a really tough time figuring it out and it's consuming more time than I currently have. :(
I'm trying the program events for 3D printing, and when the E Value appears in the Gcode the program event "Call Extruder('EValue')" appears in the instructions.
I then want to create a python script that to begin with should just print the EValue of that specific Program Event or save it to at text file on the Desktop.
So for example if I have a Robot Program with the instructions list:
MoveL 1
Call Extruder(5)
MoveL 2
Call Extruder(10)
I want it to print 5 somewhere after the first move and then 10 after the second move. How do I handle the input from the program event? And where does it print to? How could I save the input to a text file? The Problem I'm having is less with the Python commands and more with how they interact with the RoboDK Program.