- Posts: 297
- Thank you received: 0
NCGGUI and QtDragon
3 years 8 months ago #264329
by Roguish
NCGGUI and QtDragon was created by Roguish
Well, the docs say one can add ncggui routines to tabs in QtDragon.
I've been through the docs over and over, but just don't get it.
Could someone come up with a simple step by step instruction? with lots of pictures.....
Sure would be handy.
thanks.
I've been through the docs over and over, but just don't get it.
Could someone come up with a simple step by step instruction? with lots of pictures.....
Sure would be handy.
thanks.
Please Log in to join the conversation.
3 years 8 months ago #264335
by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
Some docs just pushed - will take a bit before they are available.
Please Log in to join the conversation.
3 years 8 months ago #264340
by persei8
Replied by persei8 on topic NCGGUI and QtDragon
To add a new subroutine to ngcgui, do the following:
- press New Tab
- if it has a preamble file, press Select Preamble
- press Select Subfile
- if it has a postamble, press Select Post
- then Create Feature
- then Finalize Gcode
If the SEND checkbox is checked, the created program will be loaded into LinuxCNC. If the SAVE checkbox is checked, the program will be saved to a file.
NGCGUI programs can be auto loaded when QtDragon starts by having the following in your INI file:
Jim
- press New Tab
- if it has a preamble file, press Select Preamble
- press Select Subfile
- if it has a postamble, press Select Post
- then Create Feature
- then Finalize Gcode
If the SEND checkbox is checked, the created program will be loaded into LinuxCNC. If the SAVE checkbox is checked, the program will be saved to a file.
NGCGUI programs can be auto loaded when QtDragon starts by having the following in your INI file:
Code:
[DISPLAY]
NGCGUI_PREAMBLE name_of_preamble.ngc
NGCGUI_SUBFILE name_of_subfile.ngc
NGCGUI_SUBFILE another_subfile.gcmc
GCMC_INCLUDE_PATH ~/path_to/gcmc_lib
Please Log in to join the conversation.
3 years 8 months ago #264360
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
thanks. I'll give it a try on a VM version first. don't want to accidentally mess up my working mill system.
Please Log in to join the conversation.
3 years 8 months ago #264361
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
Chris. I can look into the source files.....
Please Log in to join the conversation.
3 years 8 months ago #264369
by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
Please Log in to join the conversation.
3 years 8 months ago #264375
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
Chris & Jim,
thanks.
almost have it working. just get one error. see the image.
a file of M110 exists but I don't see anything calling it. at least not in the ngc routines....
also, since the premble file can be specified in the .ini, it would be nice to have it show in the left panel in the PRE line.
could the POST be specified, and show also? just thoughts.
Note:
Jim, don't forget the '=' between the 'NGCGUI_PREAMBLE' and 'name_of_preamble.ngc'
Chris. a couple of misspelled in your doc. Look for #<fedrate> and a few others....
thanks.
almost have it working. just get one error. see the image.
a file of M110 exists but I don't see anything calling it. at least not in the ngc routines....
also, since the premble file can be specified in the .ini, it would be nice to have it show in the left panel in the PRE line.
could the POST be specified, and show also? just thoughts.
Note:
Jim, don't forget the '=' between the 'NGCGUI_PREAMBLE' and 'name_of_preamble.ngc'
Chris. a couple of misspelled in your doc. Look for #<fedrate> and a few others....
Please Log in to join the conversation.
3 years 8 months ago #264378
by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
preamble cannot be preset from the INI in 2.9 code.
Jim's code has advanced since then.
Without any idea what subroutines you are using I can't really help much with debugging.
The subroutine may call another subroutine that calls the M code.
The reason the M110 doesn't work may be because the INI setting SUBROUTINE_PATH =
doesn't point to where the M code is defined.
I will fix the misspellings thanks
Jim's code has advanced since then.
Without any idea what subroutines you are using I can't really help much with debugging.
The subroutine may call another subroutine that calls the M code.
The reason the M110 doesn't work may be because the INI setting SUBROUTINE_PATH =
doesn't point to where the M code is defined.
I will fix the misspellings thanks
Please Log in to join the conversation.
3 years 8 months ago #264380
by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
wow, you're on. thanks
I am just trying the slot and helix routines for examples.
I will move the m110 code to the subroutine folder and see what happens.
I was just entering another problem and the editor buggered and lost it. I will retype in a few minutes.
I am just trying the slot and helix routines for examples.
I will move the m110 code to the subroutine folder and see what happens.
I was just entering another problem and the editor buggered and lost it. I will retype in a few minutes.
Please Log in to join the conversation.
Time to create page: 0.114 seconds
