Gene -

have you tried SUBROUTINE_PATH: 
http://www.linuxcnc.org/docs/devel/html/config/ini_config.html#_rs274ngc_section_a_id_sub_rs274ngc_section_a
 ?

-m

Am 25.09.2012 um 04:09 schrieb Gene Heskett:

> Greetings all;
> 
> The last time I tried to see if I could put all the files for a given 
> project in its own subdir of nc_files, I ran into the path list problem 
> when calling named subroutines and was forced to put the subroutines in the 
> higher level nc_files directory.  So ATM I probably have 30 or more such 
> files that could be moved out of that root dir and into the subdir they go 
> with IF we had the ability to command, in the gcode src file, a string 
> pointing at the correct subdir, one that could be automatically appended to 
> the path if the subroutine is not found in the nc_files root directory.
> 
> Actually, there might be a second way too.  If we record the directory path 
> at open time, and then just assume the subroutine is in the same dir as the 
> top level source gcode is.
> 
> A third way might be to use a full pathlist in the call statement, and when 
> the sub has been loaded, strip the string down to the last *.ngc of that 
> pathlist.
> 
> Is this something that can eventually be done?
> 
> Thanks.
> 
> Cheers, Gene
> -- 
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
> War hath no fury like a non-combatant.
>               -- Charles Edward Montague
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to