From: SourceForge.net <no...@so...> - 2012-09-26 13:47:11
|
Feature Requests item #3571903, was opened at 2012-09-26 05:16 Message generated for change (Comment added) made by mahsofo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=356744&aid=3571903&group_id=6744 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: EMC2 G-code Interpreter Group: None Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Gene Heskett (gheskett) Assigned to: Nobody/Anonymous (nobody) Summary: new named subroutine search order needed Initial Comment: Persuant to a discussion on the -devel list, it seems we need a named subroutine search function that first searches the directory the current gcode was loaded from, and then failing that, go back to the default nc_files to look for it. This way, we can keep a given parts code all in one tree, making it very simple to tar & compress in case that code is needed elsewhere. Thanks for your consideration of this request. Cheers, Gene ---------------------------------------------------------------------- >Comment By: Michael Haberler (mahsofo) Date: 2012-09-26 06:47 Message: Hi Gene, give this branch a try - this should cover it: http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/extend-subroute-path a '.' in SUBROUTINE_PATH is now interpreted to mean 'dirname of the current ngc file' -Michael ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=356744&aid=3571903&group_id=6744 |