How to write own simple g-code generator? (.py)
28 Oct 2010 18:44 #4941
by taras
Replied by taras on topic Re:How to write own simple g-code generator? (.py)
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?
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.
- step4linux
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 5
28 Oct 2010 19:36 #4945
by step4linux
Replied by step4linux on topic Re:How to write own simple g-code generator? (.py)
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
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.
12 Nov 2010 08:34 #5258
by taras
Replied by taras on topic Re:How to write own simple g-code generator? (.py)
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.080 seconds