Background: I’ve successfully sent individual coordinates to my line-us using python3 on a Raspberry Pi using the g01 commands from here. (Thank you for putting that together!)
Objective: I would like to increase the speed of my line-us’s drawing because I’m feeding it many very precise coordinates. That being said, I’m currently limited by the pace of the for-loop I’m running to send the coordinates to the line-us on each iteration. My sense is that the Line-us is the faster processor and so I’m hoping there is a way to remove the dependency on the for loop (and the Raspberry Pi), whether via the ordered approach/steps below (though I’m open to other alternatives).
Question: Do you have any suggestions for how to send a batch of coordinate commands (I’m guessing a txt file containing these commands) to the Line-us so that I can do this:
- rpi runs the for-loop in its entirety
- rpi writes all x,y,z coordinate sets to a (perhaps txt) file
- rpi sends the file to Line-us
- Line-us executes against the file
Do you have any thoughts?