| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
The general approach is described in Creating Thread Specs. We explain the math here. The following figure is of great help to understand what is going on. Black profile: theoretical parting line. The profiles we are going to create are red (internal thread) and blue (external thread). Note that the red and blue profiles are drawn assuming identical pitch diameters for both to clarify the figure. However, in reality external and internal threads do not have the same pitch diameter (see below).
The relevant translation in done in the function calculateThreadlibSpecs() in BSPP_thread.awk.
Steps:
However, this is not yet what we need. As we do not want the rounding in the profile, we have to adjust the "crest" diameters of the straightened profile accordingly. Again, the criterion is to create a profile that strictly remains on its own side of the parting line.
Finally, we need the points (dr_i, z_i) of the thread profile. The radii are simple: 0, 0, (DCrest - DValley) / 2, (DCrest - DValley) / 2. To calculate the corresponding z-values, we use the triangle given by (half of) the crest / valley line and the corner of the fundamental triangle (compare first figure). Half of the lines length is then calculated as the height of said triangle times tan(phi/2). Using this we calculate all 4 z-values from the crest- and valley radii.
| Back | FazBrowse Home | New Git URL |