News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Thread on a beveled surface

Started by knute971, November 06, 2021, 05:52:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knute971

I have been trying to use the thread tool on the outside of a beveled disc. 

Dimensions are .5" wide and 1" diameter to .99" diameter.

The thread tool will not select the cylinder.  Is there anyway to use the thread tool or do I have to use revolve or sweep to simulate the thread??
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Andy H

As far as I know, the thread tool only works when the sides are perpendicular to the end face.  Whether this is a cylinder, loft, sweep etc.  If a cylinder has a fillet or chamfered edge, it will still work as the sides would still be perpendicular.  But if the sides are tapered, thy are not perpendicular to the face, So it won't work.

Alvin Gregorio

Just to be sure we're clear knute, is the below similar to what you are wanting to achieve?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

If you are seeking something more like Don Cheke's TurboCAD Tip 11 that Don linked us to:

TurboCAD's Tools/features have progressed since that publication.
If using a recent Platinum edition, my first inclination would be to do a hybrid of Don's methods #1 and #2.
Once you have that Cylinder that Don instructs to insert on Page 2, we can use that Cylinder to create a Threaded object, using the 3D|Thread Tool.
Then 3D_Subtract that from the beveled disc, keeping the Thread object, if you can use it later.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

If your version supports Warp by Law, you can thread a plain cylinder and then taper it by applying the appropriate Laws (see below). This procedure will reduce the thread depth by the same factor--0.99 in this case, which I'd daresay is acceptable. The cylinder must be oriented with its axis vertical and its (UVZ) origin must be relocated to the center of the bottom face. Note that the (UVZ) origin is not the same thing as its Reference Point. If you're interested in this approach and don't know how to relocate a (UVZ) origin, please ask. (It's easy.)

I've tested this procedure for your dimensions, with a "genuine" thread pitch of 0.05", and it works just fine.

The warping laws:

General format:
X = k*u
Y = k*v
Z = z

...where
k = 1-(dR*z/R0/H)

For this specific case:
dR = 0.005; R0 = 0.5; H = 0.5
Thus...

X = u*[1-(0.005*z/0.5/0.5)]
Y = v*[1-(0.005*z/0.5/0.5)]
Z = z

Henry H


knute971

Alvin,

I was trying to thread the outside of a beveled cylinder similar to the attached jpg.  The problem with this jpg is that I just revolved the poly line, but it's not a spiral thread.

Henry,
I am going to try your approach next.  It's an interesting feature of TC that I haven't looked at yet.

Thanks to both!
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

knute971

Quote from: Henry Hubich on November 06, 2021, 07:44:26 PM
If you're interested in this approach and don't know how to relocate a (UVZ) origin, please ask. (It's easy.)

Henry, please do!
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Alvin Gregorio

I tried a bunch of different things, trying to keep with the philosophy "how would this thing get made in the real world".

But what I actually liked the best, out of the different methods I tried:
>Revolve a profile which is only a single thread (that being derived from a Section of an object created using the Thread tool).   That is the bold green thing, at the lower-right of the object, in the image below.  A Revolve Taper Angle of -.573° was applied (a .005 difference, from the base, over the .5 thickness/height).
>Revolve another profile, about the same Axis, that one shaped like the desired tapered object, minus the threads.  Which creates a tapered cylinder looking thing.
>3D_Add the two together.
>Slice off any extraneous bits outside of the desired .5 thickness/height.

I think the dimensions shown below are not perfect because of the ACIS faceting, though I have Quality turned up to 100.
Part Tree is on.  The object most to the left, in Front or Plan view, in Navy Blue, is the one I am referring to here.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

#8
Quote from: knute971 on November 07, 2021, 08:11:30 AM

If you're interested in this approach and don't know how to relocate a (UVZ) origin, please ask. (It's easy.)

Henry, please do!

With the threaded, un-tapered cylinder oriented with its axis parallel to the World Z-axis, and working in the World coordinate system, create a Sphere much smaller than the cylinder. Snap it to the cylinder's Center of Extents, then move it a negative Delta Z equal to half the height of the cylinder. This places the sphere's center at the center of the cylinder's bottom face. 3D-Add the two, being sure to click the sphere first. The cylinder's (UVZ) origin is now where you need it to be. If the hemispherical lump on the bottom is objectionable, just 3D-Slice it off, using the Slice by Facet option.

When you apply the Warp operation, it may look as if nothing happens. Assuming that you've done everything correctly, the new object is in the same location as the original and you can't see it because it is so similar. Press F7 twice to select the newbie and move it aside. If Part Tree was ON. the Selection Info palette will report it as a "Warp by Law." Explode it one time to convert to an ACIS Solid. Be aware that a Solid created with the Warp tool is likely to need a dose of SAT Healing—possibly more than one dose.

Henry H

EDIT: I'd forgotten to specify which direction to move the sphere. Fixed now.

Henry Hubich

I think Alvin's method is the most accurate--except that for maximum fidelity I'd create my own profile according to recognized specs.

Henry H

Alvin Gregorio

Quote from: Henry Hubich on November 07, 2021, 10:24:20 AM
I think Alvin's method is the most accurate--except that for maximum fidelity I'd create my own profile according to recognized specs.

Henry H

For maximum fidelity, would one create the single thread profile perpendicular\relative to the edge, as tapered?; or relative to World, orthogonally?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: Alvin Gregorio on November 07, 2021, 10:54:31 AM
Quote from: Henry Hubich on November 07, 2021, 10:24:20 AM
I think Alvin's method is the most accurate--except that for maximum fidelity I'd create my own profile according to recognized specs.

Henry H

For maximum fidelity, would one create the single thread profile perpendicular\relative to the edge, as tapered?; or relative to World, orthogonally?

You caught me, Alvin. I guess that Knute's thread is nonstandard anyway and he can use any profile he likes.

Henry H

Alvin Gregorio

Exploring NPTF threads, downloaded as SAT from McMaster-Carr, it seems that the thread profile is "relative" to the taper.

Knowing some of the stuff that knute has been modeling, I would guess this (what knute is inquiring about/for here) is to be part of some type of plug.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

knute971

Alvin,

You are right, I am following a Solidworks Youtube video of a ball valve and the part is the valve end.

I am not really concerned about the accuracy of the thread but how to utilize (if possible) the thread feature of TC without having to resort to spiral/sweep or simple extrude -- both of which have their own problems.  Since I do this as a hobby, it sometimes takes several days to work around a SW feature and it does get frustrating!

(Friends seem surprised when I tell them I do this as a hobby -- would they have the same response if I told them I did water colors?)

Currently I am trying to do Henry's Warp by Law fix, but all of a sudden the SEKE feature is not working -- my next challenge.

DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Alvin Gregorio

Quote from: knute971 on November 08, 2021, 04:42:42 AM
Alvin,
...

(Friends seem surprised when I tell them I do this as a hobby -- would they have the same response if I told them I did water colors?)
...

I hope you are making conscious effort and affording the time to get out away from the virtual world of CAD modeling to spend quality time in the real world with these friends, IRL (In Real Life)




Quote from: knute971 on November 08, 2021, 04:42:42 AM
Alvin,
... it sometimes takes several days to work around a SW feature and it does get frustrating!
...

And therein lies the "fun" and satisfaction.  Like I used to say about Golf, when I was more into it, "If it were easy, it wouldn't be fun".
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

knute971

#15
Alvin,

I do play golf regularly.  I do the CAD work between tee times -- to relieve the frustration of golf!
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Alvin Gregorio

I understand that knute wants to use an actual Thread tool in TurboCAD, to do this.  But, until they develop a tapered Thread option (or Torfinn or Nikki create and share a .ppm for one):

A take-off of my previously described method, which I prefer:
>Since I discovered that the threads profile is to be parallel with the taper,
>I went back to my theory of "how is this thing created in the real world?", which
>I don't know, but I thought they might cut it, so I:

>Created an internally threaded object, with the "Genuine" thread, per specs (I assigned, just guessing as to what knute might be using).  That object having a height much greater than that of the to-be-cut blank.
>Used the Section Tool to get a 2D section of that
>Pulled that Section off to the side; Exploded it; deleted the Hatch (could/should have turned that option Off, in Section Tool Local Menu)
>Inserted a 1"diameter/.5"height Cylinder
>Oriented the Cylinder and the Section objects such that the Section profile was at the outer-middle of the cylinder, snapping a vertex of that profile to the Cylinder edge
>Rotated that 2D Section profile .573° (the angle of difference of the top and bottom edge of a 1"Ø base, .99"Ø top, .5" thick cylinder)
>Revolved the 2D Section profile, 360° about the Cylinder axis.  With a .05" Pitch, 1 Coil. (I think that ends up being correct).
>3D Subtracted

Seems more clean and easy and accurate.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Quote from: Alvin Gregorio on November 08, 2021, 08:15:05 AM
>Since I discovered that the threads profile is to be parallel with the taper


NPT spec says thread profile's ortho to the pipe's axis, Alvin

Alvin Gregorio

Quote from: murray dickinson on November 08, 2021, 05:06:32 PM
Quote from: Alvin Gregorio on November 08, 2021, 08:15:05 AM
>Since I discovered that the threads profile is to be parallel with the taper


NPT spec says thread profile's ortho to the pipe's axis, Alvin

Oh Dear.  I will have to alter my methodology.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: Alvin Gregorio on November 08, 2021, 05:11:34 PM
Quote from: murray dickinson on November 08, 2021, 05:06:32 PM
Quote from: Alvin Gregorio on November 08, 2021, 08:15:05 AM
>Since I discovered that the threads profile is to be parallel with the taper


NPT spec says thread profile's ortho to the pipe's axis, Alvin

Oh Dear.  I will have to alter my methodology.

Why? Knute's thread is nonstandard anyway. Wiki sez...

"NPT is defined by ANSI/ASME standard B1.20.1.[5]

The taper rate for all NPT threads is 1 inch of diameter in 16 inches of length (3⁄4 inch per foot or 62.5 millimeters per meter) measured by the change of diameter (of the pipe thread) over distance of thread. The angle between the taper and the center axis of the pipe is tan−1(1⁄32) ≈ 1.7899° ≈ 1° 47′ 24″.

Henry H

murray dickinson

I was intrigued enough to wonder how SW produces NPT threads, and apparently its hole wizard has a library of standard NPT sizes.  Which makes sense, and I also wondered how likely it would be that IMSI would dedicate any development time to a tool that could do it.  Surface by law probably can, considering that it's conceptually similar to one of those conical spiral seashells that there are actually published formulas to reproduce.  I think I remember that SoftDevs teased a SurfaceLab script plugin for the internet palette two decades ago that did the seashell thing. 

Henry Hubich

Quote from: murray dickinson on November 09, 2021, 04:50:15 AM
I was intrigued enough to wonder how SW produces NPT threads, and apparently its hole wizard has a library of standard NPT sizes.  Which makes sense, and I also wondered how likely it would be that IMSI would dedicate any development time to a tool that could do it.  Surface by law probably can, considering that it's conceptually similar to one of those conical spiral seashells that there are actually published formulas to reproduce.  I think I remember that SoftDevs teased a SurfaceLab script plugin for the internet palette two decades ago that did the seashell thing.

I'd be greatly surprised if someone found a way to create such an object using Surface by Law. I haven't found any way to create discontinuous curves or surfaces with "laws." (There are a couple of functions that should work in Curve by Law, but they cannot really handle the discontinuities.)

Warp  by Law is a different matter; I think that probably could be made to work.

Henry H

murray dickinson

SW's difference is that the library is linked to its hole definition, not that it produces bespoke threads in some way.

Henry Hubich

Color me surprised. Here's a 3/4" NPT tapered pipe thread created using Surface from Law. It's really only a close approximation, since the corners of the triangular profile are slightly rounded and its sides are not perfectly flat. Furthermore, IMO it's an awkward way to do the job. But it was fun ;-)

Thread max OD = 1.050"; 14 threads/inch; 1:16 taper

These are the expressions used in the Laws Editor, in case anyone wants to fiddle with it:

X law: [(0.4536-0.0007105*u)+{(.0412/(1+abs(cos(1.5*[v+1.047]))))*cos(v)}]*cos(u)
Y law: [(0.4536-0.0007105*u)+{(.0412/(1+abs(cos(1.5*[v+1.047]))))*cos(v)}]*sin(u)
Z law: u/87.96+(.0412/(1+abs(cos(1.5*[v+1.047]))))*sin(v)

U min = 0; U max = 62.83; V min = 0; V max = 6.28318

Here's a screenshot and the .tcw...

Henry H


Henry Hubich

#24
More info on NPT via Surface from Law...

I was further surprised to find that after the SFL is exploded and SAT healed, it can be solidified using Create Solid>From Surface. (Wouldn't be possible using any other value for V max.) Having done that, we can add it to a tapered cylindrical core to make something useful.

Awkward though the formulas are, they do provide a way to make a parametric thread with a 60° Vee profile, with any diameter, pitch, and taper.

Here's what the numbers mean in the formulas:

0.04536 is the root radius (its maximum value if the thread is tapered).

0.0007105 is the taper (reduction in radius) per radian of revolution about the Z axis. It depends upon the overall taper and the thread pitch. Its value is 1/(2 pi*16*tpi). (Where 16 is the denominator in the taper ratio.)

0.0412 specifies the height of the triangular profile. Calculate the required value by dividing tan 30° by the number of threads per inch.

1.5 makes a triangle. Any other value may destroy your computer.

1.047 orients the triangle correctly--with one side vertical and the opposite vertex toward the right (i.e., away from the axis of revolution.

87.96 establishes the thread pitch. To find the required value, multiply 2 pi by the number of threads per inch.

Henry H

murray dickinson

#25
You are a legend, Henry.  That is impressive.  Thread standards specify fillet or flat reliefs at peaks and valleys, none are sharp, NPT's got fillets, ISO metric have flats, so your candidate could be trimmed to near-perfect parametrisation if you were that, well, obsessive.  Also, since the law limits are trim curves, in my mind it should be possible to define one turn and use stacked copies scaled in x and y to assemble a length of thread.   What's your thought?   

Henry Hubich

Quote from: murray dickinson on November 11, 2021, 08:26:34 PM
You are a legend, Henry.  That is impressive.  Thread standards specify fillet or flat reliefs at peaks and valleys, none are sharp, NPT's got fillets, ISO metric have flats, so your candidate could be trimmed to near-perfect parametrisation if you were that, well, obsessive.  Also, since the law limits are trim curves, in my mind it should be possible to define one turn and use stacked copies scaled in x and y to assemble a length of thread.   What's your thought?

Afraid you lost me there, Murray.

Henry H

murray dickinson

Scaled copies of one turn can be stacked into lengths of the tapered thread, as unscaled copies of a single turn of a parallel thread can be, because the thread flanks are G3 continuous across the joins.   

Henry Hubich

Quote from: murray dickinson on November 12, 2021, 12:51:31 PM
Scaled copies of one turn can be stacked into lengths of the tapered thread, as unscaled copies of a single turn of a parallel thread can be, because the thread flanks are G3 continuous across the joins.

But if you scale in X and Y, you also scale the thread depth accordingly. That effect, I think, is the main objection to my original suggestion about using Warp Entity to put threads on Knute's tapered cylinder that started this whole discussion.

Henry H

murray dickinson

#29
Quote from: Henry Hubich on November 12, 2021, 02:36:28 PM
But if you scale in X and Y, you also scale the thread depth accordingly. That effect, I think, is the main objection to my original suggestion about using Warp Entity to put threads on Knute's tapered cylinder that started this whole discussion.

Henry H

Yeah, that occurred to me after I'd posted the suggestion, then I realised that scaling in X, Y AND Z would maintain the thread proportion, but that each copy would be displaced by the thread pitch, so the copies' volumes will overlap towards their axis, which should, in adding them, actually help prevent coincidental/degenerative conditions. 
*edit* I'm wrong-headed about this: I was thinking that copies could be used for different-sized NPT threads, but I realised that if the pitch is different, scaling to suit a different pitch will change the flank angle - or perhaps I'm wrong about that, too.  Thinking about it, overlapping the copies in that context will keep the original angle.

Henry Hubich

Quote from: murray dickinson on November 12, 2021, 05:23:50 PM
Quote from: Henry Hubich on November 12, 2021, 02:36:28 PM
But if you scale in X and Y, you also scale the thread depth accordingly. That effect, I think, is the main objection to my original suggestion about using Warp Entity to put threads on Knute's tapered cylinder that started this whole discussion.

Henry H

Yeah, that occurred to me after I'd posted the suggestion, then I realised that scaling in X, Y AND Z would maintain the thread proportion, but that each copy would be displaced by the thread pitch, so the copies' volumes will overlap towards their axis, which should, in adding them, actually help prevent coincidental/degenerative conditions. 
*edit* I'm wrong-headed about this: I was thinking that copies could be used for different-sized NPT threads, but I realised that if the pitch is different, scaling to suit a different pitch will change the flank angle - or perhaps I'm wrong about that, too.  Thinking about it, overlapping the copies in that context will keep the original angle.

Anyone who's willing to grapple with my Surface from Law formulas can edit them to create any NPT thread with any number of turns--or, for that matter, any thread at all with an equilateral-triangular profile.

...BTW, I've found a way to make Acme threads via Surface from Law. Guess I have too much time on my hands.

Henry H

murray dickinson

Thanks for the time you've already spent on this, Henry, and from my view, none of it's misspent.  I have ambition to be able to do something original in my own right, and your results are inspirational.   I've been using PunchCAD alongside TC for a long time, and it's had the capacity for curves and surfaces from law since forever, but in its implementation the law and its parameters are written in a text file like a macro and it builds the surface after importing the text file and reading it.  The curve or surface isn't associated with the law, doesn't update if the law's edited, TC's better as a learning tool for that reason.   I expected that ACME threads would be doable, and it's no surprise that you got there first.