Skip to main content

Define unfolding parameters in the unfold_corner_ratios.inp file

Modified: 12 Mar 2026 Tekla Structures 2026
2026
Tekla Structures

The unfolding parameters in the unfold_corner_ratios.inp file define the location of the neutral axis when a profile is unfolded. The neutral axis is a line that runs along the length of a profile where stress and strain are equal to zero. Tekla Structures uses these parameters to create NC files and to show unfolded profiles in single-part drawings.

Correct unfolding of parts ensures that single part drawings and NC data have the correct adjusted lengths for opening them out into flat shapes. When the part is formed into its real shape it will create the correct overall length of the part. The adjusted length depends on the thickness of material type of profile and radius of bends among other factors.

Notes and limitations

  • Check for parts with zero weight using reports or filters. Those parts can not be unfolded.

  • Check session logs for problematic solids as those parts can not be unfolded. You can also use solid error detection extensions available in Tekla Warehouse, for example, Solid error detector.

  • The settings in the unfold_corner_ratios.inp file have no effect in the following cases:

Modify unfolding parameters

  1. Open the unfold_corner_ratios.inp file in a standard text editor.

    This file is usually located in your environment folder. If this file does not exist in your environment folder, modify the unfold_corner_ratios.inp file located in the ..\Tekla Structures\<version>\environments\common\system folder.

  2. Modify the unfolding parameters and save the file.

    You can copy the unfold_corner_ratios.inp file to a model, project, or firm folder and then modify the file in the new location as required. Tekla Structures searches for this file in the default search order.

    Within the unfold_corner_ratios.inp file you can configure how parts are unfolded. There are 2 types of unfolding rules you can configure, once set this will control the lengths of the unfolded parts and the NC data.

    Type 1: You can control how parts are unfolded by the part rotation and angle (splay) of bend.

    Type 2: You can control how parts are unfolded by part thickness (or if profile, its width) and radius of the bends.

    Type 2 is the more typical method to use to unfold parts. A combination of both these options can be configured to allow the user to set up finite specialized unfolding rules to their company standards.

    For more information about defining the parameters and for some examples, see the "Unfolding parameters" table below.

  3. Restart Tekla Structures for the changes to take effect.

Unfolding parameters

Below is an example of the unfold_corner_ratios.inp file:

# Example unfolding corner ratio configuration file
# Lines beginning with '#' are comments
#
#
# [type = 1] [profile] [material] [rotation min] [rotation max] [flag: 1 = sharp, 2 = curved] [angle/radius min] [angle/radius max] [ratio]
#
1 HE* S235JR -180 180 1 0 90 .7
1 HE* S235JR -180 180 2 0 1000 .7
#
# PLATE
#
# [type = 2] [profile] [material] [thickness min] [thickness max] [flag: 1 = sharp, 2 = curved] [angle/radius min] [angle/radius max] [ratio]
#
2 PL* S235JR 0 200 1 -180 180 .6
2 PL* S235JR 0 200 2 0 1000 .6

Below is a list of the unfolding parameters in the unfold_corner_ratios.inp file and the descriptions of the parameters. Examples in the table are taken from the following definition:

1 HE300A S235JR 0 180 2 0 1000 .7

Parameter

In the example

Description

Type

1

This parameter specifies the part type. Selecting the type allows you to define different rules for different profiles.

To control how parts are unfolded by the part rotation and angle (splay) of bend, use type 1. This method is for polybeams.

To control how parts are unfolded by thickness (or if profile its width) and radius of the bends, use type 2. This method is for plates modeled as polybeams (for example, PLT).

Type 3 means that parts will be ignored and not unfolded. This is for parts that follow the old polybeam calculation (for example, the line 3 L* * disables unfolding of L profiles).

See examples after the table.

Profile

HE300A

This parameter specifies the profile name. You can also use wildcards (*) in the profile name, for example, HE300*. * by itself means any profile.

Material

S235JR

This parameter specifies the material name. You can also use wildcards (*) in the material name, for example, S235*. * by itself means any material.

Rotation min

Thickness min

0

For polybeams, this parameter specifies the minimum angle when the profile is rotated around its longitudinal axis.

For plates, this parameter specifies the minimum thickness of the plate.

Rotation max

Thickness max

180

For polybeams, this parameter specifies the maximum angle when the profile is rotated around its longitudinal axis.

For plates, this parameter specifies the maximum thickness of the plate.

Flag

2

This parameter specifies if the part has sharp folds or curved bends.

This parameter defines what kind of parts are affected by the parameters Angle min/Radius min and Angle max/Radius max.

Value 1 means that the part has sharp folds. Only polybeams with straight chamfers are affected.

Value 2 means that the part has curved bends. Only polybeams with curved chamfers are affected.

Angle min

Radius min

0

This parameter specifies the minimum angle for sharp folds.

This parameter specifies the minimum radius for curved bends.

Angle max

Radius max

1000

This parameter specifies the maximum angle for sharp folds.

This parameter specifies the maximum radius for curved bends.

Maximum radius is measured to the plane defined by the ratio, so it is not dependent on how the part is created (where the reference axis is located).

Ratio

.7

This parameter specifies how the polybeam will get unfolded, which in turn determines what its length will be.

Specifically, it determines at which depth (perpendicular to the plane of bending/turning), Tekla Structures unfolds the beam.

Ratio = (1 - the relative location of the neutral axis).

Options:

1 = outside of part: the polybeam will be unfolded along its outer surface

0 = inside of part: the polybeam will be unfolded along its inner surface (Height = 0)

0.5 = Mid line of part: the polybeam will be unfolded around its center line

By default, the ratio is 0.5 for length calculation and 0.0 for bending radius calculation.

Tekla Structures applies the unfolding ratio if the profile properties are within the range indicated by the minimum and maximum values.

See examples below.

Examples of different parameter settings

Type = 1

Type = 2

Ratio = .5

The part is unfolded around its center line.

Ratio = 0

The part is unfolded around the inside edge.

Ratio = 1

The part is unfolded around the outside edge.

Examples of typical definitions in unfold_corner_ratios.inp

  • To unfold all parts around the outside face just based on the width of the part and the radius of the corners, you can simplify the unfold_corner_ratios.inp definitions by adding the following lines:

    2 * * 0 2000 1 0 200000 1

    2 * * 0 2000 2 0 200000 1

    Regardless of profile type and material, all profiles will be unfolded around the outside edge.

  • To unfold all parts around the inside face just based on the width of the part and the radius of the corners, you can simplify the unfold_corner_ratios.inp definitions by adding the following lines:

    2 * * 0 2000 1 0 200000 0

    2 * * 0 2000 2 0 200000 0

    Regardless of profile type and material, all profiles will be unfolded around the inside edge:

  • To unfold the SHS and PLT profiles round their outside (longest faces), add the following lines in the unfold_corner_ratios.inp:

    1 SHS* S* -180 180 1 0 200000 1

    1 SHS* S* -180 180 2 0 200000 1

    2 P* S* 0 200 2 0 200000 1

    2 P* S* 0 200 1 0 200000 1

  • To unfold this PLT (created using two plates and joining them with the Bent plate command) around its outside face, add the following lines in the unfold_corner_ratios.inp:

    2 P* * 0 500 1 0 200000 1

    2 P* * 0 500 2 0 200000 1

    Plates are unfolded around the outside face including CNC data.

  • Examples of unfolding the same plate in different ways:

    • To unfold the plate about its outside (longest) sides, add the following lines in unfold_corner_ratios.inp:

      #

      2 P* * 0 200 1 0 20000 1

      2 P* * 0 200 2 0 20000 1

      #

    • To unfold the plate around its inside (shortest) sides, add the following lines in unfold_corner_ratios.inp:

      #

      2 P* * 0 200 1 0 20000 0

      2 P* * 0 200 2 0 20000 0

      #

    • To unfold the plate around its center line, add the following lines in unfold_corner_ratios.inp:

      #

      2 P* * 0 200 1 0 20000 .5

      2 P* * 0 200 2 0 20000 .5

      #

Submit

Table of Contents