7.9.3.14.1.1.  Male thread using the example of a pin
7.9.3.14.1.1.1. Regular thread

With the help of the following example you can comprehend the use of a cylindrical thread.[99]

Here, a simple pin is used as an example:

  1. Apply the following variables:

    PARTdesigner: Variables in Table and Variable Manager

    PARTdesigner: Variables in Table and Variable Manager

    [Important]Important

    The values used for nominal thread diameter, thread pitch [Thread pitch] and variant (if available) must be exactly the same in the thread table under $CADENAS_DATA\datasetup\threads must be exactly the same!

    If "Thread type [Thread type] " DIN 13 is selected, a component with a nominal diameter of 13 would not be possible!

    If "Thread type [Thread type] " DIN 13 is selected, a component with a nominal diameter of 13 would not be possible!

    • 'L ' for the length of the pin

    • 'TD ' for the thread depth [Thread depths]

    • 'D ' for the nominal thread [Nominal thread] diameter

    • 'A ' for the threaded outlet [Thread runout]

    • 'P ' for the thread pitch [Thread pitch]

  2. Draw a rectangle with the variables D and L.

    [Note]Note

    Pin and thread are applied to the same sketch!

  3. Determine the axis of rotation [Rotation axis].

    [Note]Note

    The Cylindrical thread over length [Cylindrical thread by length] and Conical thread over length [Conical thread by lengths] buttons are only active once a rotation axis [Rotation axis] has been determined!

  4. Click the Cylindrical thread over length [Cylindrical thread by length] button.

  5. Follow the instructions in the footer:

    Click on the following sketch elements and areas.

    1. select outer edge...

    2. select thread start...

    3. Determine depth of thread...

    4. Determine thread end...

    5. select material side...

    Define thread

    Define thread

  6. The Change parameters [Change parameter] dialog box opens.

    Default values

    Default values

    Adjusted values

    Adjusted values

  7. Adjust your entries in the Change parameters [Change parameter] dialog box. Set the variables you have created.

    • External thread [Outer thread]:

      Is already set according to your specification.

    • Thread type :

      Adjust the value via list field as desired.

    • Thread pitch :

      The "def. [def.] " checkbox is set by default. A standard thread is created in accordance with the set standard.

      If you want to create a fine pitch thread with defined thread pitches, deactivate the checkbox and enter the variable name for the thread pitch ( 'P ').

      [Note]Note

      For a fine pitch thread, the variable 'P ' must be created in the table for the thread pitch!

      See also Section 7.9.3.14.1.1.2, “Various thread pitches and derived automatic calculations for e.g. line description and core diameter ”.

    • Variant:

      Used for certain threads, enables further specification.

      [Note]Note

      If the option exists in the thread table, the value has to be set.[a]

      [a] If available, there should be a selection in the list field. You can also take the value from the thread table under $CADENAS_DATA\datasetup\threads and enter it manually.

    • Left-hand thread [Left-handed thread] :

      If you activate the second checkbox, you can carry out the query of whether left or right thread via the table as well. In this case, enter the respective variable name into the input field.

    • Add cham [Add chamfers] fers:

      Chamfer

      Chamfer

    • Thread [Thread length] length:

      Variable 'TD'

      Thread length

      Thread length

    • Outlet [Run out length] length:

      Variable 'A'

      Run-out length

      Run-out length

  8. Confirm with OK.

    -> The thread is automatically marked as cosmetic element (blue lines).

    Sketch with thread

    Sketch with thread

  9. Close the sketch by clicking .

    -> In PARTproject you can see the part in the preview after selecting the 3db file.

    The following illustrations show the pin with different thread pitches and the 2D derivation in the PARTdataManager.

    PARTdataManager - Thread pitch 1.5

    PARTdataManager - Thread pitch 1.5

    PARTdataManager - Thread pitch 1.0

    PARTdataManager - Thread pitch 1.0

    PARTdataManager - Thread in 2D derivation - Right

    PARTdataManager - Thread in 2D derivation - Right

    PARTdataManager - Thread in 2D derivation - Front

    PARTdataManager - Thread in 2D derivation - Front

7.9.3.14.1.1.2. Various thread pitches and derived automatic calculations for e.g. line description and core diameter

With the help of the expressions GETTHREADTEXT or GETTHREADVALUE different output can be created by little adjustments. GETTHREADTEXT returns text, GETTHREADVALUE a number (double). The functionality is equivalent.

General form:

Parameter 1Parameter 2Parameter 3Parameter 4Parameter 5
Nominal thread diameter: In the case of DIN 158, this is the variable 'ND'. Standard designation [Standard name]: Specification of the desired thread table (e.g. DIN 158)

Variant: Optional for determining the correct line if there are variants (e.g. for DIN 158). Usually there are none; then the value remains empty in quotation marks.

Thread pitch: In the case of DIN 158, this is the variable 'PITCH'.

The return value is the filtered value of the variable specified here.

With the help of the first four parameters a row is specified, the fifth parameter specifies the variable whose value shall be returned.

Example:

VARIABLE  =  GETTHREADTEXT(D,'DIN 13','',P,'NAME')

[Note]Note

In the case of GETTHREADTEXT the data type of VARIABLE has to be text.

In the case of GETTHREADVALUE the data type of VARIABLE has to be a number.

Rückgabewert

NAME  =  GETTHREADTEXT(D,'DIN 13','',P,'NAME') // ergibt z.B. M10x1
TYPE  =  GETTHREADTEXT(D,'DIN 13','',P,'TYPE') // ergibt z.B. M
KDI   =  GETTHREADTEXT(D,'DIN 13','',P,'KDI')  // Kerndurchmesser Innengewinde
KDA   =  GETTHREADTEXT(D,'DIN 13','',P,'KDA')  // Kerndurchmesser Aussengewinde
SIZE  =  GETTHREADTEXT(D,'DIN 13','',P,'SIZE') // ergibt z.B. 10x1

[Note]Note

Any table variable can be used for the last parameter. The above mentioned (NAME, TYPE, KDI, KDA, SIZE) are always available normally.

Example: Thread table of DIN 158

Example: Thread table of DIN 158

Example 1:

  1. Specify a variable for the row description (in this example "GEW").

  2. Create a characteristic algorithm [Attribute algorithm] for this variable.

    GEW=GETTHREADTEXT(D,'DIN 13','',P,'NAME')

    Thread - attribute algorithm

    Thread - attribute algorithm

  3. Enter the variable 'GEW ' under PARTproject -> General -> Line description [Row label].

Result:

-> The content of the field "NAME" of table "DIN 13" is returned to variable GEW as text.

Example 2:

Calculate core diameter [Core diameter] external thread [Outer thread] automatically and display in PARTdataManager

KDA = GETTHREADTEXT(D,'DIN 13','',P,'KDA')

  1. Create an attribute algorithm as above.

  2. Set the variable KDA in PARTproject -> Edit project -> General -> Variables -> Sequence/groups of variables [Order/Groups of Variables] visible.

    -> The core diameter is now displayed in the PARTdataManager is now displayed.

    Line description [Row label] / core diameter [Core diameter]

    Line description [Row label] / core diameter [Core diameter]

Example 3:

GET=GETTHREADTEXT(ND,'DIN 158',VARIANT,PITCH,'NENN')

Compare Fig. „Example: Thread table of DIN 158“.

Example 4:

X=GETTHREADVALUE(ND,'DIN 158','Kurz',PITCH,'L1')

-> The value for ND is taken and set as filter for the nominal diameter in table "DIN 158".

-> The value of PITCH is taken and set as filter for the pitch in table "DIN 158".

-> The filter "variant = 'Kurz' is set in table "DIN 158".

-> The content of field L1 of table "DIN 158" is returned as a number.




[99] You can find the example with the training catalog installed under $CADENAS/Training/PARTdesigner/Threads/cylindrical_thread.prj.