Tool Motion — Profile Turning
The element PRO_E_TOOL_MTN is a member of PRO_E_TOOL_MTN_ARR array and is documented in the header file ProMfgElemToolMtnProfTurn.h, and is as shown in the following figure:
Figure 201. Element tree for PRO_E_TOOL_MTN element:
Element ID
Data Type
Description
PRO_E_TOOL_MTN_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Species the Tool motion type. The valid value for this element is PRO_TM_TYPE_PROF_TURNING. The value for this element is defined by ProTmType.
PRO_E_MFG_PARAM_ARR
Array
Mandatory element. Specifies an array of manufacturing parameters. See the Creo NC online help for more information on manufacturing parameters. The element tree for the manufacturing parameter is defined in the header file ProMfgElemParam.h. For more information, refer to the section pecifying the Stock Allowance for more information on the element tree.
PRO_E_TOOL_MTN_TURN_PROF
Compound
This compound element specifies the turning profile definition.
PRO_E_TOOL_MTN_TURN_PROF_REF
PRO_VALUE_TYPE_SELECTION
Mandatory element. Specifies the turning profile reference.
PRO_E_TOOL_MTN_TURN_PROF_S_VAL
PRO_VALUE_TYPE_DOUBLE
Optional element. Specifies the start point offset. This element can range from negative to positive values. The valid range values for this element are from -MAX_DIM_VALUE to MAX_DIM_VALUE.
PRO_E_TOOL_MTN_TURN_PROF_E_VAL
PRO_VALUE_TYPE_DOUBLE
Optional element. Specifies the end point offset. This element can range from negative to positive values. The valid range values for this element are from -MAX_DIM_VALUE to MAX_DIM_VALUE.
PRO_E_TOOL_MTN_TURN_PROF_S_REF
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the start point adjustment reference.
PRO_E_TOOL_MTN_TURN_PROF_E_REF
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the end point adjustment reference.
PRO_E_TOOL_MTN_TURN_PROF_S_ORIENT
PRO_VALUE_TYPE_INT
Specifies the orientation of the axis when coordinate system is selected as the start point adjustment. The valid values for this element are:
PRO_TM_TURN_CSYS_X
PRO_TM_TURN_CSYS_Y
PRO_TM_TURN_CSYS_Z
Note:
 
This element is mandatory if coordinate system is selected for cylindrical retract reference and is ignored in all other cases.
PRO_E_TOOL_MTN_TURN_PROF_E_ORIENT
PRO_VALUE_TYPE_INT
Specifies the orientation of the axis when coordinate system is selected as the ending point. The valid values for this element are:
PRO_TM_TURN_CSYS_X
PRO_TM_TURN_CSYS_Y
PRO_TM_TURN_CSYS_Z
Note:
 
This element is mandatory if coordinate system is selected for cylindrical retract reference and is ignored in all other cases.
PRO_E_TOOL_MTN_TURN_PROF_OFFSET_CUT
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the offset from turn profile by the tool radius. The valid values for this element are:
PRO_B_TRUE
PRO_B_FALSE
PRO_E_TOOL_MTN_TURN_DFLT_CORNER_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the corner type. The valid values for this element are:
PRO_TM_TURN_CORNER_TYPE_SHARP
PRO_TM_TURN_CORNER_TYPE_FILLET
PRO_TM_TURN_CORNER_TYPE_CHAMFER
PRO_E_TOOL_MTN_TURN_CORNER_ARR
Array
Optional element. Specifies the corner conditions array.
PRO_E_TOOL_MTN_TURN_CORNER
Compound
This compound element defines the elements related to the corner.
PRO_E_TOOL_MTN_TURN_CORNER_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the corner type. The valid values for this element are:
PRO_TM_TURN_CORNER_TYPE_SHARP
PRO_TM_TURN_CORNER_TYPE_FILLET
PRO_TM_TURN_CORNER_TYPE_CHAMFER
PRO_E_TOOL_MTN_TURN_PREV_ENT_ID
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the previous entity id.
PRO_E_TOOL_MTN_TURN_NEXT_ENT_ID
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the next entity id.
PRO_E_TOOL_MTN_TURN_CORNER_VAL
PRO_VALUE_TYPE_DOUBLE
Specifies the fillet radius or chamfer dimension. This element can range from negative to positive values. The valid range values for this element are from -MAX_DIM_VALUE to MAX_DIM_VALUE
Note:
 
This element is mandatory if corner type is PRO_TM_TURN_CORNER_TYPE_FILLET or PRO_TM_TURN_CORNER_TYPE_CHAMFER.
PRO_E_TURN_STK_ALLW_PROF_ARR
Array
Specifies an array for profile stock allowance.
PRO_E_TURN_STK_ALLW_ROUGH_ARR
Array
Specifies an array for rough stock allowance.
PRO_E_TURN_STK_ALLOWANCE
Compound
Specifies the compound element for stock allowance. For more information, refer to the section pecifying the Stock Allowance.
这对您有帮助吗?