Future Improvements
- Real gcode viewer which reads the gcode and draws it virtually on a canvas (I started to write the code but haven´t fished yet->: MainWindow::interpretGcode(QString code))
- Checksum for the communication ->(hopefully gets rid of some bugs)
- Port the application logic to a QStateMachine -> just to make the code maintainable and ease additions to it
- (Idea) Port the unicorn extension of inkscape to the spherebot-gui. This would make it easy to use other programs to generate the svg files and directly import them into the host. It would also make it possible to automate the gcode generation.
I got the checksum integrated into the firmware. But I don't know how to implement it in the GUI. It works like the Gcode for Reprap, so you send N[line number] G.... *(checksum) and the firmware answers with ok or rs [line number] http://reprap.org/wiki/G-code#Replies_from_the_RepRap_machine_to_the_host_computer
Look at my fork (needs more work!) https://github.com/JamesT42/Spherebot-Host-GUI/blob/master/SphereBot%20Arduino/SphereBot/SphereBot.ino
Thanks for the code, looks promising. The implementation into the GUI shouldn't be that hard to do, I 'll do it when I find some time.
Hi there! Any progress? Christmas is coming up "soon", and i wanted to plot some christmas baubles...
Hi. Right now I´m quite busy with another project but I haven´t forgotten the spherebot project. Hopefully I find time in september to write some code