A typical line G1 X53.6223 Y37.9513 E49.6224 F2300 will be changed to G1 X53.6223 Y37.9513 A49.6224 F2300 replacing first "space E digit" with " space A digit" on all lines
This is my filter section in .ini [FILTER] PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image PROGRAM_EXTENSION = .py Python Script PROGRAM_EXTENSION = .gcode Extruder gcode png = image-to-gcode gif = image-to-gcode jpg = image-to-gcode py = python gcode = E2A This is the E2A script file that will be called because of the "gcode = E2A" #!/bin/bash sed -re 's/( E)([0-9]+)/ A\2/' $1 There was a thread here in EMC users named " Axis naming X Y Z E, can I have that?" that helped me fix this. You might find it in the archives. HTH /Lars > -----Original Message----- > From: Charles Steinkuehler [mailto:[email protected]] > Sent: den 30 augusti 2012 13:25 > To: [email protected] > Subject: Re: [Emc-users] Supporting RepRap G-Code Flavor? > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yes, please (if it's not too much trouble)! > > I'm still learning about all the magic that can be done via LinuxCNC > configuration! :) > > On 8/30/2012 2:03 AM, Lars Andersson wrote: > > I have fixed it in this way: When LinuxCNC opens a Gcode file all E > > statements are converted to A statements. This is done by LinuxCNC > > configuration settings. I can dig out how if you are interested. > > > >> -----Original Message----- From: Charles Steinkuehler > >> [mailto:[email protected]] Sent: den 29 augusti 2012 > >> 21:23 To: [email protected] Subject: [Emc-users] > >> Supporting RepRap G-Code Flavor? > >> > > I'm hooking LinuxCNC up to my 3D printer, and while some of the > > various slicing programs will support "Mach/LinuxCNC" G-Code > > generation, I would like to craft a configuration that works just > like > > the typical Arduino-based controllers for these printers. > > > > The biggest issue seems to be the E (extruder) axis (which IIRC > > LinuxCNC wants to call A). Even worse, for multiple extruders, the E > > parameter can be followed by multiple values (as set by M160): > > > > http://reprap.org/wiki/G-code#M160:_Number_of_mixed_materials > > > > ...any hope of setting up an 'E' axis in LinuxCNC and/or supporting > > multiple values following the E in a G0/G1 move? > > > > Also, anyone else using LinuxCNC to control their RepRap or other 3D > > printer? Care to share your configuration setup? > > - -- > Charles Steinkuehler > [email protected] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlA/TZsACgkQLywbqEHdNFx41QCeOT064CMfx1xlDAGI51rkWtLI > TnkAoK6XYJtes99rXZX5VX6Fqr51IWlL > =6SQi > -----END PGP SIGNATURE----- > > ----------------------------------------------------------------------- > ------- > 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-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ 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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
