Bend Feature
The Bend feature allows you to bend the sheet metal in different ways using the bend line or an edge or a curve and by defining specific radius and angle.
The element tree for the Bend feature is documented in the header file ProSmtBend.h and is as shown in the following figure:
Figure 130. Feature Element Tree for Bend Feature
The elements in this tree are described as follows:
Element ID
Data Type
Description
PRO_E_FEATURE_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the type of the feature. The valid value for this element is PRO_FEAT_BEND.
PRO_E_STD_FEATURE_NAME
PRO_VALUE_TYPE_WSTRING
Specifies the name of the feature. The default value is Bend_1.
PRO_E_SMT_BEND_FORM
PRO_VALUE_TYPE_INT
Specifies the type of bend using the enumerated data type ProBendForm. The valid values for this element are:
PRO_SMT_BEND_FORM_ANGLE—Specifies an angled type of bend.
PRO_SMT_BEND_FORM_ROLL—Specifies a rolled type of bend.
PRO_E_SMT_BEND_LINE
Compound
This compound element defines the bend line properties. For more information, see the section Bend Line Elements.
PRO_E_SMT_BEND_FIXED_SIDE
PRO_VALUE_TYPE_INT
Specifies the fixed side of the bend using the enumerated data type ProBendSide. The valid values for this element are:
PRO_SMT_BEND_SIDE_ONE—Specifies first side as the fixed side.
PRO_SMT_BEND_SIDE_TWO—Specifies the second side as the fixed side.
PRO_E_SMT_BEND_LOCATION
PRO_VALUE_TYPE_INT
Specifies the location of the bend in relation to the bend line, using the enumerated data type ProBendSide. The valid values for this element are:
PRO_SMT_BEND_SIDE_ONE—Specifies a bend up to the bend line.
PRO_SMT_BEND_SIDE_TWO—Specifies a bend up to the other side of the bend line.
PRO_SMT_BEND_BOTH_SIDES—Specifies a bend centered on both sides of the bend line.
PRO_E_SMT_BEND_DIRECTION
PRO_VALUE_TYPE_INT
Specifies the direction of the bend using the enumerated data type ProBendDirection. The valid values for this element are:
PRO_SMT_BEND_DOWN— Specifies a convex bend relative to the bending plane.
PRO_SMT_BEND_UP— Specifies a concave bend relative to the bending plane.
PRO_E_SMT_BEND_ANGLE
Compound
This compound element and its sub-elements are available when the element PRO_E_SMT_BEND_FORM has its value as PRO_SMT_BEND_FORM_ANGLE.
The compound element defines the bend angle.
PRO_E_SMT_BEND_ANGLE_TYPE
PRO_VALUE_TYPE_INT
Specifies the bend angle type using the enumerated data type ProBendAngleType. The valid values for this element are:
PRO_SMT_BEND_ANGLE_INTERNAL—Specifies the resulting internal bend angle.
PRO_SMT_BEND_ANGLE_EXTERNAL—Specifies the bend angle deflection from straight.
PRO_E_SMT_BEND_ANGLE_VALUE
PRO_VALUE_TYPE_DOUBLE
Specifies the value of the bend angle.
PRO_E_SMT_BEND_TRANS_FLIP
PRO_VALUE_TYPE_INT
Flips the direction where the bend cylinder will be created along the bend transition line using the enumerated data type ProBendSide. The valid values for this element are:
PRO_SMT_BEND_SIDE_ONE— Creates the cylinder along the first line of the transition.
PRO_SMT_BEND_SIDE_TWO—Creates the cylinder along the second line of the transition.
Note:
 
The transition flip element is available only if there is one transition set in the feature.
PRO_E_SMT_BEND_TRANS_AREAS
Array
An array element of bend transition lines that defines the bend transition area.
PRO_E_SMT_BEND_TRANS_SET
Compound
This compound element defines the bend transition lines.
PRO_E_STD_SECTION
Compound
This compound element specifies a sketched section for the bend line. For more information on how to create features that contain sketched sections, refer to the section Creating Features Containing Sections.
PRO_E_SMT_FILLETS
Compound
This compound element defines the bend properties of the sheet metal wall and the value of bend radius.
PRO_E_SMT_FILLETS_SIDE
PRO_VALUE_TYPE_INT
Specifies the fillet side. The valid values are:
PRO_BEND_RAD_OUTSIDE—Applies the bend radius to the outer surface of the bend.
PRO_BEND_RAD_INSIDE—Applies the bend radius to the inner surface of the bend.
PRO_BEND_RAD_PARAMETER—Applies the bend radius at the dimension location set by the SMT_DFLT_RADIUS_SIDE parameter in Creo Parametric.
PRO_E_SMT_FILLETS_VALUE
PRO_VALUE_TYPE_DOUBLE
Specifies the value of the bend radius.
PRO_E_SMT_BEND_RELIEF
Compound
This compound element defines the bend relief at the edges. For more information see the section Bend Relief Elements.
PRO_E_SMT_DEV_LEN_CALCULATION
Compound
This compound element defines the method used to calculate the Developed Length dimensions for the bends. For more information see the section The Element Subtree for Length Calculation.
È stato utile?