Excuse me, I have messed up the other thread.

Thanks Gene for your encouragement.


There are 2 function NURBS_FEED.
1. in src/emc/task/emccanon.cc, which is used for machine movements.
2. in src/emc/rs274ngc/gcodemodule.cc which is used for example by AXIS.

In src/emc/rs274ngc/gcodemodule.cc I am not familiar enough
with the code to get the information, witch plane (G17, G18 or G19)
is active.

Both functions are called from functions in
src/emc/rs274ngc/interp_convert.cc
 - convert_spline
 - convert_nurbs
There is - in both functions - the information
about the active plane available.

It would be easy to add an additional parameter plane to NURBS_FEED
and then it is easy to check for the active plane with:
if(settings->plane == CANON_PLANE_xx)

Is this an acceptable way to proceed?

Joachim


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to