[Emc-users] Axis naming X Y Z E, can I have that?

2011-06-22 Thread Lars Andersson
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

[Emc-users] Axis naming X Y Z E, can I have that?

2011-06-22 Thread cogoman
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 ca

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-22 Thread andy pugh
On 22 June 2011 21:30, Lars Andersson wrote: > 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. E already has a meaning in EMC2 G-code. It would be difficult for the

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-22 Thread Mark
It is possible to use filters to seamlessly convert files. This is usually used to convert from a format that EMC2 does not understand (i.e. images) to gcode. I'm not sure exactly where the documentation is, but your .ini probably already has a [FILTERS] section. Give your files a unique extension

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-23 Thread Lars Andersson
.com] > Sent: den 23 juni 2011 02:38 > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Axis naming X Y Z E, can I have that? > > It is possible to use filters to seamlessly convert files. This is > usually > used to convert from a format that EMC2 does not un

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-24 Thread Erik Christiansen
On 23.06.11 22:19, Lars Andersson wrote: > Nice to have the file conversion integrated in AXIS. > No need to change the axis name then. Thank you for the nicely potted integration example. I'll certainly keep it for reference. [...] > This is E2A that was run from outside of AXIS before >

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-24 Thread Lars Andersson
Erik, thanks for the correction, you might indeed be a guru! /Lars > -Original Message- > From: Erik Christiansen [mailto:dva...@internode.on.net] > Sent: den 24 juni 2011 10:00 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Axis naming X Y Z E, can I hav

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-24 Thread Mark
On Fri, Jun 24, 2011 at 3:59 AM, Erik Christiansen wrote: [...] > $ echo G1 X53.6223 Y37.9513 Eggnog F2300 | sed -re 's/( E)([0-9]+)/ A\2/' > G1 X53.6223 Y37.9513 Eggnog F2300 > There is still a potential problem: comments will be modified if they contain ' Ennn'. $ echo "G1 X53.6223 Y37.9513

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-25 Thread Erik Christiansen
On 24.06.11 18:37, Mark wrote: > On Fri, Jun 24, 2011 at 3:59 AM, Erik Christiansen > wrote: > > [...] > > > > $ echo G1 X53.6223 Y37.9513 Eggnog F2300 | sed -re 's/( E)([0-9]+)/ A\2/' > > G1 X53.6223 Y37.9513 Eggnog F2300 > > > > There is still a potential problem: comments will be modified if

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-25 Thread Mark
On Sat, Jun 25, 2011 at 3:57 AM, Erik Christiansen wrote: > On 24.06.11 18:37, Mark wrote: > > On Fri, Jun 24, 2011 at 3:59 AM, Erik Christiansen > > wrote: > > > > [...] > > > > > > There is still a potential problem: comments will be modified if they > > contain ' Ennn'. > > But is that a proble

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-25 Thread Erik Christiansen
On 25.06.11 06:38, Mark wrote: > If a comment contains MSG, a dialog pops up telling the user something. If > the message is modified, the user may not realize that they're being told to > do the wrong thing. Wow! An executable command embedded in a comment. (And I thought that perl took the cake

Re: [Emc-users] Axis naming X Y Z E, can I have that?

2011-06-26 Thread Lars Andersson
to:dva...@internode.on.net] > Sent: den 25 juni 2011 13:12 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Axis naming X Y Z E, can I have that? > > On 25.06.11 06:38, Mark wrote: > > If a comment contains MSG, a dialog pops up telling the user > something. If > > the m