This is only a band-aid approach, but it gives me a chance to plug the "Stream Editor". The stream editor "sed" when used with an edit file is kind of like a super-colossal macro generator. It is VERY cryptic when you first get started, but with just a little knowledge of how to use it, it can make jobs like this a non problem. If there is no other use of "A" in the file...
sed s/A/E/ gcodeoutput.ngc > gcodeoutputE.ngc I have been so impressed with the power of sed, that I hope to inspire some programming types to write a GUI front end for it that would phrase the substitutions in plain English ways, and then show the sed command to accomplish that, and eventually run all of the editing rules against the file. This would make the Stream Editor available to the novice, but teach the command line stuff to them for future use. Here is a link to a site with sed info. I've found that u-sedit3 is a good tutorial, and the download is listed on this page. http://www.cornerstonemag.com/sed/ > Hi Group, > > > > I would like to have three linear axes X Y Z and a rotary axis named E > instead of A. > > > > G-code generated for me uses E for plastic extrusion feed. Up to now I edit > axis E to axis A (almost automatically) before running, but I would like not > to do this extra step. > > > > As I understand it axis order is XYZABCUVW and nothing else? > > > > Another thought if the G-code could be generated wit A instead of E. I am > looking into that too. > > > > Or maybe it can be handled entirely differently? > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users