- Posts: 8
- Thank you received: 0
How to write own simple g-code generator? (.py)
16 years 5 days ago #4866
by taras
How to write own simple g-code generator? (.py) was created by taras
Hello. Can anyone advise information or tutorial how to build your own simple g-code generator like in wiki. I know basics of programming. I need to know what tools and doc's to do it. Thanks.
Please Log in to join the conversation.
16 years 4 days ago #4870
by BigJohnT
Replied by BigJohnT on topic Re:How to write own simple g-code generator? (.py)
Just read the programs on the wiki to see how I and others have done it. Several folks have taken one of my g-code generators and modified it to do what they wanted.
There are no manuals or tutorials that I know of for writing a g code generator.
John
There are no manuals or tutorials that I know of for writing a g code generator.
John
Please Log in to join the conversation.
16 years 4 days ago #4872
by taras
Replied by taras on topic Re:How to write own simple g-code generator? (.py)
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?
Please Log in to join the conversation.
16 years 4 days ago #4873
by BigJohnT
Replied by BigJohnT on topic Re:How to write own simple g-code generator? (.py)
I actually prefer gedit for editing my python files. I add the plugins External Tools, Python Console and Snippets from the preferences menu. As for a RAD I prefer Code::Blocks.
John
John
Please Log in to join the conversation.
- step4linux
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
16 years 4 days ago #4886
by step4linux
Replied by step4linux on topic Re:How to write own simple g-code generator? (.py)
taras wrote:
For forms design with buttons and control you can use glade
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 to join the conversation.
16 years 3 days ago #4920
by taras
Replied by taras on topic Re:How to write own simple g-code generator? (.py)
I've installed Glade, but it can open only .glade files not .py
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.
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 to join the conversation.
16 years 3 days ago #4921
by taras
Replied by taras on topic Re:How to write own simple g-code generator? (.py)
Code::Blocks, that I've installed, don't opens .py file.
Please Log in to join the conversation.
- step4linux
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
16 years 3 days ago #4923
by step4linux
Replied by step4linux on topic Re:How to write own simple g-code generator? (.py)
The way a glade - python toolchain works is like this:
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
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 to join the conversation.
16 years 3 days ago #4924
by taras
Replied by taras on topic Re:How to write own simple g-code generator? (.py)
Thank for the pivot!
Please Log in to join the conversation.
Time to create page: 0.098 seconds
