How to write own simple g-code generator? (.py)

More
16 years 2 days ago #4941 by taras
These simple g-code generators were written using tkinter GUI package. The way that you described (glade->xml, and use this xml from .py) don't uses tkinter, and when I've tried to launch .py (that uses .xml) from EMC I get and error related to the .xml file (error opening or can't find). I've found visual tcl, but this environment works with .tcl not .py files. Any suggestions?
Or am I just complicates the problem? Maybe not so hard to build tcl tk interface using just gedit?

Please Log in to join the conversation.

More
16 years 2 days ago #4945 by step4linux
Infact for simple cases the usage of a graphical design tool might be an overkill.

Tkinter is something like the native GUI of py.
Its simple and fast to use, you need only a texteditor like gedit.
Just to place some buttons on a form its good enough anyway.

Gerd

Please Log in to join the conversation.

More
15 years 11 months ago #5258 by taras
Little progress. If anyone interested, there is SpecTcl a Tkinter GUI builder spectcl.sourceforge.net/spectcl.html , it can generate a py-code for GUI.

Please Log in to join the conversation.

Time to create page: 0.154 seconds
Powered by Kunena Forum