Embedding ngcgui in EMC 2.4.x
- Rick G
-
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 155
Thats great, good to have all the info here in one place on the forum.
Should...
NGCGUI_SUBFILE = ""
be added to the list of subfiles to add the custom tab?
NGCGUI_SUBFILE = ""Now open your ini file and add the following to the [DISPLAY] section.
USER_COMMAND_FILE = tkapp.py
TKAPP = ngcgui_app.tcl
NGCGUI = ngcgui.tcl
NGCGUI_FONT = Courier -10 normal
NGCGUI_PREAMBLE = ./subroutines/in_std.ngc
NGCGUI_SUBFILE = ./subroutines/simp.ngc
NGCGUI_SUBFILE = ./subroutines/iquad.ngc
NGCGUI_SUBFILE = ./subroutines/gosper.ngc
Rick G
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
It can be if you want it. I was just trying to get the minimal up and going but that is a good addition even if I don't know exactly what it does ATM.
John
Please Log in or Create an account to join the conversation.
- Rick G
-
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 155
Special location for files?
Rick G
Please Log in or Create an account to join the conversation.
- BigJohnT
-
Topic Author
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1175
I use a desktop shortcut to run 2.5 with ngcgui embedded in. I do it a couple of ways, one using a script to run emc-environment and the other way is just to put the full path to the RIP emc script then the full path to your config.
John
Please Log in or Create an account to join the conversation.
- Rick G
-
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 155
That seems to work best for me.one using a script to run emc-environment
Thanks
Rick G
Please Log in or Create an account to join the conversation.
- swtswt
-
- Visitor
-
I want to ask where is the file "tkapp.py" ?
Because I've downloaded ngcgui_tst and can't find that file
Thanks..
Please Log in or Create an account to join the conversation.
- Rick G
-
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 155
Rick G
Please Log in or Create an account to join the conversation.
- submicro
- Offline
- Premium Member
-
- Posts: 82
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Rick G
-
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 155
You might want to look here...
www.panix.com/~dgarrett/ngcgui/readme
If you are upgrading from 2.4 there are some changes.
You can run it stand alone or embedded.
Rick G
Please Log in or Create an account to join the conversation.
- submicro
- Offline
- Premium Member
-
- Posts: 82
- Thank you received: 0
Please Log in or Create an account to join the conversation.