Command line gcode sender for linux
mmiscool wrote 07/31/2017 at 04:45 • 1 pointI am looking for a command line gcode sender for linux. I have been searching and have been unable to find a good one. It needs to work with Marlin firmware and preferably not be python. Any body know of one?
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
I've been planning on automating jobs on my box, but never gotten to actually implementing it.
Here's the list of cli g-code senders I wanted to try:
https://github.com/kliment/Printrun
http://www.repetier.com/
https://github.com/timschmidt/repsnapper
Are you sure? yes | no
Any details about using repetier as a command line gcode sender? I was unable to find any documentation.
Are you sure? yes | no
curious, why don't you want to use python?
Are you sure? yes | no
Its too constricting. lol.
Python left a bad taste in my mouth. I am all self taught as far as programming goes. I tried getting in to python several times but the fact that white space matters in python was not in big bold letter at the beginning of the tutorials i was reading. 5 years later some one explained a little python to me and how the indenting actually means some thing. It is because of that i have a severe hatred for python.
Are you sure? yes | no
beware, perl or assembler might make your head explode. ever hear of brainfuck? https://en.wikipedia.org/wiki/Brainfuck << wrap head with duct tape before clicking
Are you sure? yes | no
screen /dev/ttyUSBx 115200
Are you sure? yes | no
The problem with dumping the whole file to the srial port is that the ramps board only have a small buffer so you have to actively keep pace with it. I ended up using interface.
Are you sure? yes | no
There are many options but you can send it straight from a virtual terminal!
Really all you have to do is set the baud speed and then write the file to the device for the serial port.
Are you sure? yes | no
Thats not nessaraly true. Arduino base ramp boards have buffers that require pacing. It is also highly beneficial to wait for an aknowlagement from the device on the other end. I can't just dump the file to the serial port.
Are you sure? yes | no
That is just one of the many options.
Are you sure? yes | no