NCGGUI and QtDragon

More
11 Feb 2023 23:24 #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.

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 03:12 #264335 by cmorley
Replied by cmorley on topic NCGGUI and QtDragon
Some docs just pushed - will take a bit before they are available.
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 03:58 #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:
[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
Jim
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 15:55 #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 or Create an account to join the conversation.

More
12 Feb 2023 15:56 #264361 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
Chris. I can look into the source files.....

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 17:59 #264369 by cmorley
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 19:56 #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....
Attachments:

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 20:11 #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
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 20:14 #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.

Please Log in or Create an account to join the conversation.

More
12 Feb 2023 20:18 #264381 by Roguish
Replied by Roguish on topic NCGGUI and QtDragon
ok, that worked. I move M110.ngc to the subroutine folder.....

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 1.580 seconds
Powered by Kunena Forum