Unbend Feature
The unbend feature allows you to unbend one or more cylinder based curvature surfaces such as bends or curved walls in a sheet metal part.
The element tree for the Unbend feature is documented in the header file ProRegularUnbend.h and is shown in the following figure:
Figure 133. Feature Element Tree for Unbend Feature
The elements in this tree are described as follows:
Element ID
Data Type
Description
PRO_E_FEATURE_TYPE
PRO_VALUE_TYPE_INT
Specifies the type of feature. The value of this feature must be PRO_FEAT_UNBEND.
PRO_E_STD_FEATURE_NAME
PRO_VALUE_TYPE_WSTRING
Specifies the name of the feature. The default value is Unbend_1.
PRO_E_SMT_UNBEND_TYPE
PRO_VALUE_TYPE_INT
Creates a regular unbend feature using the enumerated data type ProSmtUnbendType. This element takes the valid value PRO_SMT_REGULAR_UNBEND.
PRO_E_SMT_UNBEND_SUB_TYPE
PRO_VALUE_TYPE_INT
Specifies the type of unbend execution using the enumerated data type ProUnbendSubType which has the following values:
PRO_UNBEND_ALL—Specifies that all the curved surfaces and edges must be automatically selected for unbend.
PRO_UNBEND_SELECTED—Specifies that the curved surfaces and edges must be manually selected for unbend.
PRO_E_SMT_PRIMARY_FIXED_GEOM
Compound
This compound element defines a surface or an edge that remains fixed during the unbending.
PRO_E_SMT_FIXED_REF
PRO_VALUE_TYPE_SELECTION
Specifies a surface or edge that remains fixed during unbending.
PRO_E_SMT_FIXED_REF_SIDE
PRO_VALUE_TYPE_INT
This element is applicable only if a sharp edge is selected as the fixed reference in the element PRO_E_SMT_FIXED_REF.
Flips the edge and one of the surfaces the edge lies in between, to remain fixed during unbending, using the enumerated data type ProSmtFixedRefSide. The valid values for this element are:
PRO_SMT_FIXED_SIDE_ONE
—First side from the edge will be fixed.
PRO_SMT_FIXED_SIDE_TWO
—Second side from the edge will be fixed.
PRO_E_SMT_UNBEND_REF_ARR
Array
An array element defining the list of edges to unbend.
PRO_E_SMT_UNBEND_REF
Compound
This compound element defines collection of geometry to be unbent.
PRO_E_SMT_UNBEND_SINGLE_REF
PRO_VALUE_TYPE_SELECTION
Specifies edge or surface or intent surface or intent chain to unbend.
PRO_E_SMT_DEFORM_SURFACES
Compound
This compound element defines the deformation surfaces.
PRO_E_STD_SURF_COLLECTION_APPL
PRO_VALUE_TYPE_POINTER
Collects the surfaces to be used as deformation areas.
PRO_E_SMT_ADD_CORNER_RELIEFS_OPTS
Compound
This compound element defines the relief parameters.
PRO_E_SMT_ADD_CORNER_RELIEFS
PRO_VALUE_TYPE_BOOLEAN
Specifies if the relief geometry must be created. The valid values for this element are:
PRO_B_TRUE
PRO_B_FALSE
PRO_E_SMT_ADD_CORNER_RELIEFS_TYPE
PRO_VALUE_TYPE_INT
Specifies the corner relief settings using the enumerated data type ProSmtAddCornRelType. The valid values for this element are:
PRO_SMT_ADD_CORN_REL_UNDEF—Specifies that the corner relief parameter is undefined.
PRO_SMT_ADD_CORN_REL_BY_FLAT_PAT—Creates the corner relief geometry on the model.
PRO_SMT_ADD_CORN_REL_BY_PARAMS—Does not creates the corner relief geometry on the model.
PRO_E_SMT_FLATTEN_FORM_WALLS
PRO_VALUE_TYPE_BOOLEAN
Specifies if the walls adjusted to form geometry must be unbent. When forms are also flattened, geometry is first unbent. The valid values are:
PRO_B_TRUE
PRO_B_FALSE
Note:
 
You can specify the value for this element only if the enumerated data type ProUnbendSubTypeis set to the value PRO_UNBEND_ALL.
PRO_E_SMT_FLATTEN_ALL_FORMS
PRO_VALUE_TYPE_BOOLEAN
Specifies if all the forms in the model must be flattened. The valid values are:
PRO_B_TRUE
PRO_B_FALSE
Note:
 
You can specify the value for this element only if the enumerated data type ProSmtUnbendTypeis set to the value PRO_SMT_FLAT_PATTERN.
PRO_E_SMT_FLATTEN_PROJ_CUTS
PRO_VALUE_TYPE_BOOLEAN
Specifies if cuts must be projected to the flattened form.
PRO_E_SMT_MERGE_SAME_SIDES
PRO_VALUE_TYPE_BOOLEAN
Specifies if the side surfaces located in the same location must be kept. The valid values for this element are:
PRO_B_TRUE
PRO_B_FALSE
Note:
 
You can specify the value for this element only if the enumerated data type ProSmtUnbendTypeis set to the value PRO_SMT_FLAT_PATTERN.
도움이 되셨나요?