- Posts: 3410
- Thank you received: 0
NTP
13 years 10 months ago #27105
by jlviloria
John
I can help make internal NPT threaded. I am analyzing the file that you enclose the truth but still do not quite understand the subroutines.
I see you say not to use. because there is a mistake, I need do npt threaded:
1 "1/4 npt
1 "1/2 npt
2 "npt
can guide me how I can make these threads?
Jorge
Colombia
I can help make internal NPT threaded. I am analyzing the file that you enclose the truth but still do not quite understand the subroutines.
I see you say not to use. because there is a mistake, I need do npt threaded:
1 "1/4 npt
1 "1/2 npt
2 "npt
can guide me how I can make these threads?
Jorge
Colombia
Please Log in to join the conversation.
13 years 10 months ago #27609
by joekline9
I just happen to be working on a simular project.
I will make a program for each thread size instead of a common sub prog.
I just started on 3/4 Male NPT. It works but not complete by any means.
I am posting now it to show the basic idea.
I will make a program for each thread size instead of a common sub prog.
I just started on 3/4 Male NPT. It works but not complete by any means.
I am posting now it to show the basic idea.
Please Log in to join the conversation.
13 years 10 months ago #27654
by joekline9
Here is a working file for 3/4" male pipe threads,
You can just change the parameters to do other sizes.
I will post more sizes when they are ready.
it seems to work properly. I don't have it doing the spring cuts yet.
Joe
You can just change the parameters to do other sizes.
I will post more sizes when they are ready.
it seems to work properly. I don't have it doing the spring cuts yet.
Joe
Please Log in to join the conversation.
13 years 10 months ago #27718
by joekline9
Here are some G code files to cut NPT tapered pipe threads.
They now do the spring passes and auto calc the compound feed angle from parameters #50 & #51.
You can change parameters #39 thru #58 to cut any thread, straight or tapered.
If #39 (X Start Point) and #52 (X End of thread) are the same it will cut straight.
Normaly #51 (Z cut Depth) is 1/2 of pitch (#41). That gives you 30 degree compound angle of in feed.
#51=0.0 it will plunge in ( 0 degrees).
I will post more sizes when they are done.
John,
I should have used named params but this is my 1st attempt at params in LinuxCnc
and I wasn't to sure how to use them.
Thanks for the tip.
PS:
Maybee in a future release of LinuxCnc G76 could have an X word to allow it to do tapered threads.
What do you think.
They now do the spring passes and auto calc the compound feed angle from parameters #50 & #51.
You can change parameters #39 thru #58 to cut any thread, straight or tapered.
If #39 (X Start Point) and #52 (X End of thread) are the same it will cut straight.
Normaly #51 (Z cut Depth) is 1/2 of pitch (#41). That gives you 30 degree compound angle of in feed.
#51=0.0 it will plunge in ( 0 degrees).
I will post more sizes when they are done.
John,
I should have used named params but this is my 1st attempt at params in LinuxCnc
and I wasn't to sure how to use them.
Thanks for the tip.
PS:
Maybee in a future release of LinuxCnc G76 could have an X word to allow it to do tapered threads.
What do you think.
Please Log in to join the conversation.
13 years 10 months ago #27722
by BigJohnT
I think there has be quite a bit of discussion on taper threads and no one seems motivated to actually take on the task.
Named parameters are your friend and make code so much more readable.
I converted one of your files to use named parameters...
John
Named parameters are your friend and make code so much more readable.
I converted one of your files to use named parameters...
John
Please Log in to join the conversation.
13 years 10 months ago #27733
by andypugh
There is a "gotcha" with tapered threads and G33. G33 moves at the desired pitch along the path, not along the Z axis.
This may not be noticable for a shallow angle, but does need correcting for.
(This may look like a drawback, and some people consider it a bug, I am of the opinion that it allows for more flexibility, creating scroll chucks for example.)
joekline9 wrote: Here are some G code files to cut NPT tapered pipe threads
There is a "gotcha" with tapered threads and G33. G33 moves at the desired pitch along the path, not along the Z axis.
This may not be noticable for a shallow angle, but does need correcting for.
(This may look like a drawback, and some people consider it a bug, I am of the opinion that it allows for more flexibility, creating scroll chucks for example.)
Please Log in to join the conversation.
Time to create page: 0.127 seconds
