editing active gcode list

More
21 Mar 2023 09:59 #267220 by Aciera
Replied by Aciera on topic editing active gcode list
You are confusing things. The suggestion was:

SUBROUTINE_PATH=/home/user/Documents/XYZA:~/linuxcnc/nc_files/subroutines

The colon (not semicolon) can be used to list more than one path linuxcnc should look for subroutines. In the above example it would look in two places
/home/user/Documents/XYZA
and
~/linuxcnc/nc_files/subroutines


You have this in your ini:

SUBROUTINE_PATH=~:/linuxcnc/nc_files/subroutines


Which means it looks in the directories:
/home/{your username}
and
/linuxcnc/nc_files/subroutines

 
The following user(s) said Thank You: foam man

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

More
21 Mar 2023 22:11 #267254 by foam man
Replied by foam man on topic editing active gcode list
1. should I have the subroutines set up at both of those locations?
2. do the actual sub files have to be mentioned, or just up to the file that they are in?

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

More
22 Mar 2023 04:34 #267272 by foam man
Replied by foam man on topic editing active gcode list
 

File Attachment:

File Name: MainSUB.txt.txt
File Size:4 KB


it works!!!
the file names that are listed in the subroutine file need to have .ngc in the name
thanks for all your help. 
the frogwire guy I was talking about before?
he sent me his MAIN SUB file
If anybody is interested in looking at it
If I ever have 2.9 or later for the m98 code so I can use the looping function
Attachments:
The following user(s) said Thank You: tommylight

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

Time to create page: 0.332 seconds
Powered by Kunena Forum