Import Shaft Geometry

The Import Shaft Geometry feature uses a text file to generate a collection of line bodies with circular or circular tube cross sections. Each segment of the shaft is referred to as a station, and consists of a line body containing a single edge. Each line body’s cross section dimensions are defined in the text file. The line bodies themselves are arranged end to end starting from the origin of the selected base plane and extending out ward in its +Z direction. There is no limit to the number of stations the user may define in their text file so long as the bodies fit in the model bounding box and each station uses a unique identifier. The format of the text file is as follows:

  • Each line of the file defines a single station.

  • Each line contain four fields to define the station:

    • Station ID: must be a unique positive integer

    • Length: must be positive

    • Outer Diameter: The outer diameter of the cross section, which must be positive

    • Inner Diameter: The inner diameter of the cross section, which must be less than the outer diameter. This value may be zero is the cross section has no inner diameter.

  • A ‘#’ symbol indicates a comment. Any text that appears on a line after the ‘#’ symbol is ignored.

Several additional properties complete the definition of the Import Shaft Geometry feature:

  • Base Plane: The plane to use as the basis for the line bodies to be created from the text file. Bodies will be arranged starting at the base plane’s origin towards the +Z direction. When creating the Import Shaft Geometry feature, the current active plane will be chosen by default.

  • Model Units: Specifies the unit type of the text data to be imported. By default it is assumed to be the same units as the Ansys DesignModeler session.

  • Refresh: Set this property to Yes to force Ansys DesignModeler to refresh the Import Shaft Geometry feature by re-reading the source text file.

Example 1: Shaft text file

Station IDLengthOuter DiameterInner Diameter
12.341.530
25.270.980
34.752.660
42.343.210
52.343.480
60.723.480
71.752.972.05
81.031.490.77
95.271.490
104.751.780
112.344.800

Produces the following geometry:


Other file management options: