[Emc-users] INI file data for a user-defined command in, gcode?

2011-06-28 Thread Schooner
If I have a program that gets executed via a user-defined M100 command, can that program get the INI file data somehow? Hi The info you need is in the main axis executable. Axis starts with a commandline argument specifying the path of the .ini file by default. Looks like you are

Re: [Emc-users] INI file data for a user-defined command in gcode?

2011-06-28 Thread Karl Cunningham
On 06/28/2011 12:58 AM, Erik Christiansen wrote: While I've never bothered with python, it should be able to do what any other text processing language can. Before beginning to process the gcode on stdin, open the INI file for reading, find the required lines (preferably using regexes), and

Re: [Emc-users] INI file data for a user-defined command in, gcode?

2011-06-28 Thread Karl Cunningham
On 06/28/2011 09:44 AM, Schooner wrote: If I have a program that gets executed via a user-defined M100 command, can that program get the INI file data somehow? Hi The info you need is in the main axis executable. Axis starts with a commandline argument specifying the path of the .ini