How to write own simple g-code generator? (.py)
Please Log in or Create an account to join the conversation.
There are no manuals or tutorials that I know of for writing a g code generator.
John
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
- Posts: 115
- Thank you received: 5
Thanks. I understood. Is there much more handy editor with debug posibility, to modify .py scripts (build forms with the buttons and other controls), than gedit?
For forms design with buttons and control you can use glade
Please Log in or Create an account to join the conversation.
Also I have installed Eric python IDE, Boa constructor, DrPython (PIDA and Stani's editor will not start) . Tried to open drill.py (first simple genrator in list, on the wiki). And none of the editors don't showed me main frame of script to edit controls.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- step4linux
- Offline
- Premium Member
- Posts: 115
- Thank you received: 5
You design your GUI in glade and create an xml file.
In py, you open the xml, and create references to your graphical objects.
google for "python glade" and you will find documentation, tutorials etc
Gerd
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.