Dave Caroline wrote: > see > http://www.linuxcnc.org/docview/html//gcode_overview.html#sub:Numbered-Parameters > > example have an array of values #200 to #300 > and use #3 as a counter > #[200+#3] > > Dave Caroline > Thanks for the information above. This is certainly possible and I will look at it as a quick way out of my present problem, but I think I still need to look for a longer term solution. At present my simple examples use a single profile as a swept surface of revolution so are manageable with a few numbered parameters. Profiles are a small array of points key and I interpolate for positions in between these key points. My surface already has the functionality to have as many profiles as you want and I can see that parameters up to 5399 will not be enough. As an example I want to be able to scan a coin say, import into my program and scale it up to 200mm diameter and cut box lids replicating that form. All the functionality to do this is already there in my code. So how easy would it be to modify emc in order to add large arrays? I could spend a little time on this if it was a quick job, but would rather at present concentrate on completing my own program to make it useable.
As to using Gawk etc, I am interested in the idea of reading depth information from a named pipe or something similar. In the past I have written code with client server / remote function calls. I can see the advantage of defining a new gcode to obtain depth data and it appeals to me, but again I dont know enough about emc. Is there functionality in emc at present to make remote calls? If not same question as above would it be relatively easy to implement? Alan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users