Subroutine GUI
- BigJohnT
- Topic Author
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
You can find instructions for downloading and using it here:
www.panix.com/~dgarrett/ngcgui/README
Dewey demoing ngcgui
John
Please Log in or Create an account to join the conversation.
- BigJohnT
- Topic Author
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
The only thing not worked out is loading the finishing tool but other than that I use it all the time to turn one off parts down to size.
John
Please Log in or Create an account to join the conversation.
- Rick G
- Offline
- Junior Member
- Posts: 28
- Thank you received: 156
Rick G
Please Log in or Create an account to join the conversation.
- BigJohnT
- Topic Author
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
I create a desktop launcher and use the following to launch each one. Of course the name would change for each file.
/home/john/emc2/ngcgui/ngcgui.tcl --cwidth 25 --vwidth 0 -S /home/john/emc2/nc_files/id.ngc -a
This works with the latest version from Dewey and produces the output shown above.
John
Please Log in or Create an account to join the conversation.
- BigJohnT
- Topic Author
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
Hi,
I look at the forum now and then (a great resource) and notice
in your recent post:
> I create a desktop launcher and use the following to launch each one. Of course
> the name would change for each file.
> /home/john/emc2/ngcgui/ngcgui.tcl --cwidth 25 --vwidth 0 -S /home/john/emc2/nc_files/id.ngc -a
I just wanted to mention that the -a option should actually be followed with
a file name like:
-a tst1.ngc
or -a tst2 (this will become tst2.ngc)
When -a is not followed by a filename, it sort of accidentally
works but only if it is the last item on the command. (it uses
the name auto.ngc). A problem could occur if you tried to do
something like have another option following -a and the error
handling isn't so good for that (I'll try to improve it).
The help text is kind of standard format but it may be confusing since the
-a works without the autosend_file specifier if it is the last item.
$ ngcgui.tcl --help
Usage:
ngcgui.tcl --help
ngcgui.tcl [Options] -D nc_files_directory_name
ngcgui.tcl [Options] -i emc_inifile_name
ngcgui.tcl [Options]
Options:
[-S subroutine_file]
[-p preamble_file]
[-P postamble_file]
[-o output_file]
[-font [big|small|fontspec]] (default: "Helvetica -16 bold")
[-horiz|-vert] (default: -vert)
[-a autosend_file] (autosend to axis)
(width of comment field)
(width of varname field)
Another small note -- Starting with a launcher is a good idea but if
you have problems, you probably don't get to see some error messages.
So if you have a startup problem, testing from the command line
may be useful.
Also, when starting from a launcher some of the helpful buttons like
Ctrl-h Show key bindings
have nowhere to write stuff to help -- I should work on this too
so a widget pops up. Since I use command line for most things,
I never thought of the consequences of using a launcher.
keep up the great work!
dewey
--
Dewey Garrett
Please Log in or Create an account to join the conversation.
- piasdom
- Offline
- Platinum Member
- Posts: 472
- Thank you received: 10
it opens, but a shorter version then your pic. great job though
Please Log in or Create an account to join the conversation.
- BigJohnT
- Topic Author
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
this works on lathes only? i couldn't get it to work correctly anyway.
it opens, but a shorter version then your pic. great job though
No, it works with any EMC config. It just depends on what subroutine you load with it. Also the display changes with different subroutines to match the variables in the subroutine.
John
Please Log in or Create an account to join the conversation.
- piasdom
- Offline
- Platinum Member
- Posts: 472
- Thank you received: 10
i get the error "no application named "axis"".
gone alooking again
Please Log in or Create an account to join the conversation.
- BigJohnT
- Topic Author
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
John
Please Log in or Create an account to join the conversation.
- piasdom
- Offline
- Platinum Member
- Posts: 472
- Thank you received: 10
both. at home now and can't test anything.
Please Log in or Create an account to join the conversation.