Home › Evil Mad Scientist Forums › AxiDraw › How can I get the generated machine language? › Re: How can I get the generated machine language?
I presume by “machine language” in this case that you mean the set of serial commands that are sent to the AxiDraw over USB. You could potentially modify the script to save a copy of each command sent to a file, but that does require that you note each point where communication is sent. Serial communication is handled through the ebb_serial.py script, so the good news is that you should only need to modify that one file in order to do so.
I should note that the script is to some degree interactive; checking to make sure that it is connected to the right device and to make sure that each command was sent successfully. We have not tested the method of just sending a set of commands, which is what you would be doing if you are just re-sending a list.
I might be guessing at your intentions here, but if your end goal is to be able to just print the same file many times, then you might prefer to start with a command-line script that prints your SVG file from outside of Inkscape. We do have a script like this, available to AxiDraw users in private beta– please let us know if you would like to try that.
If you are looking for the serial command set itself, you can find it here:
http://evil-mad.github.io/EggBot/ebb.html