Ahh right sorry, il try be more specific. I would like to take the path length as output by linuxcnc and use this to control another axis, say an extruder. This could be done at the cam level, in the post processor or at the Linuxcnc level, the later being the most accurate as it deals with the real path length after all traj functions etc are applied.
So in my mind this is how i thought i could do it;
Put a line of code in the kins file that would pull the relevant pos-> information. Store this and on the next thread subtract the new value from the old. The difference can then be used to calculate the path length in cartesian space. This value would be applied to the extrude axis resulting in the interpolated motion of the extrude axis and the tool tip. This could also feed the wire for a welder if that was useful....
Sorry if im not doing a good job at explaining!