I wrote some code to thread NPT pipe. I used two consecutive G33 commands to cut the effective and the vanish thread. When I run the code on my lathe, I get a slight hesitation between the two tapers. I can see the effect on the cut. If I run about 100 RPM, it's not too bad. More speed makes it worse.
I thought it might be because the threads didn't quite match up, so I made sure that the length of the first cut is an Integer multiple of the thread pitch. This made it better, but didn't completely eliminate it.
Here's the section out of the loop that cuts the tapers:
Code:
G33 X[#<XX> + #<X1>] Z[#<ZZ> - #<Z1>] K#<Pitch> (cut effective thread)
G33 X[#<XX> + #<X1> + #<X2>] Z[#<ZZ> - #<Z1> - #<Z2>] K#<Pitch> (cut vanish thread)
If LinuxCNC generates the code on the fly, maybe there's some processing time between the commands that results in a small delay?
Anybody have a solution or any ideas?