On 8/14/22 06:32, l...@pibf.de wrote:
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
IDK, Joachim. While I generally write my own gcode, I was born 50 years
too early
to understand python well enough to talk about it, Assembly, some
original C &
some os9, with a smattering of ARexx thrown in are about the extent of
my computer
language skills. Python makes whats left of my brain hurt. Retired from
broadcast
engineering for 20 years now, and alone, if I make it to October I'll be
88. My interests
are varied, like any wannabe JOAT. I should, there is about 5 years
worth of battery left
in my pacemaker.
There are several on this list that obviously do understand it, probably
busy at $dayjob.
Far more qualified to discuss this than I am. All I can offer is words
of encouragement.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers