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

More
28 Oct 2010 18:44 #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 or Create an account to join the conversation.

More
28 Oct 2010 19:36 #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 or Create an account to join the conversation.

More
12 Nov 2010 08:34 #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 or Create an account to join the conversation.

Time to create page: 0.121 seconds
Powered by Kunena Forum