I've got a Flashforge Creator X and let me first say, thanks for writing GPX; it's invaluable for converting G-Code (directly from Slic3r for e.g.).
So what I'm trying to do is send simple move commands (either from the command line or from a python script if possible). I'm using Ubuntu at the moment because the compiled Windows exe is not yet on 2.0, and 1.4 doesn't support serial.
What I've currently tried is this:
- Downloaded 2.0 source
- Compiled, etc which seems to have worked fine ($ gpx returns the help)
- Made a simple G-Code file for moving, for e.g to move to x=30: $ echo G1 X30 > move.gcode
- Run GPX: $ sudo gpx -s -v move.gcode /dev/ttyACM0
The printer does actually move, which shows that it is working (somewhat). The output I get with the verbose flag hangs after "Communicating via: /dev/ttyACM0" and I need to kill the program with ^C. Strangely, if I open ReplicatorG it releases the hang and prints the remained or the verbose output (Extrusion length: 0.000 metres \n Estimated print time: 0 seconds \n X3G output filesize: 9 bytes). I've tried sending full part files but they also hang.
So my questions are:
- Any idea why it is hanging? Do I need to include an EOF character or G-Code equivalent?
- If all I want to do is send move commands, is using GPX the best way to do it? Do any of you have any other suggestions?
In case this matters, my printer has a Flashforge Creator REV C mightyboard (ATMEGA1280) and my firmware is Sailfish 7.6 (r1228)
Thanks for any help.