Tool Motion — Curve Trajectory
The compound element PRO_E_TOOL_MTN is a member of PRO_E_TOOL_MTN_ARR array and is documented in the header file ProMfgElemToolMtnCrvTraj.h, and is shown in the following figure.
Figure 202. Element tree for PRO_E_TOOL_MTN element
The following table lists the contents of 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_CURVE_TRAJECTORY.
PRO_E_MFG_PARAM_ARR
Array
Mandatory element. Specifies an array of manufacturing parameters. See the Creo NC 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 Manufacturing Parameters for more information on the element tree.
PRO_E_MFG_TRAJ_CRV
Compound
Mandatory element. Specifies the machining curves compound definition.
PRO_E_STD_CURVE_COLLECTION_APPL
Curve Collection
Mandatory element. Specifies the curve collection.
PRO_E_NCD_CURVE_POINT
Compound
Optional element. Specifies the compound Start Point definition.
Note:
 
This element is applicable for closed loops only.
PRO_E_NCD_CURVE_POINT_REF
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the start point vertex definition to offset from.
PRO_E_NCD_CURVE_POINT_OFFSET_TYPE
PRO_VALUE_TYPE_INT
Optional element. Specifies the start point offset type definition. The valid values for this element are:
PRO_CURVE_POINT_OFFSET_TYPE_RATIO—Specifies the offset by parameter.
PRO_CURVE_POINT_OFFSET_TYPE_REAL—Specifies the offset by length.
PRO_E_NCD_CURVE_POINT_OFFSET
PRO_VALUE_TYPE_DOUBLE
Optional element. Specifies the start point offset definition.
PRO_E_MFG_HELICAL_CUT_OPT
PRO_VALUE_TYPE_INT
Optional element. Specifies the helical cut option. The valid values for this element are:
PRO_B_TRUE—Specifies that helical option and parameters will be applied.
PRO_B_FALSE—Specifies that helical option and parameters will not be applied.
PRO_E_MFG_START_HEIGHT
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the selection of start height surface.
PRO_E_MFG_HEIGHT
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the multiple selections of height surfaces.
PRO_E_MFG_OFFSET
Compound
Optional element. Specifies the offset compound definition.
PRO_E_MFG_OFFSET_CUT
PRO_VALUE_TYPE_INT
Optional element. Specifies the offset cut. The valid values for this element are:
PRO_B_TRUE—Tool offset will be applied.
PRO_B_FALSE—Tool offset will not be applied.
PRO_E_MFG_MAT_REM_PREC_OPT
PRO_VALUE_TYPE_STRING
Specifies the value of the precision tab present in stock. The values for this element are defined by the enumerated value ProMatRemPrecOpt. The valid values for this element are:
PRO_PREC_OPT_AUTO
PRO_PREC_OPT_HIGH
PRO_PREC_OPT_MEDIUM
PRO_PREC_OPT_LOW
PRO_E_MFG_MAT_TO_RMV
PRO_VALUE_TYPE_INT
Optional element. Specifies the material side. The values for this element are defined by the enumerated value ProMaterialRmvSide in the header file ProMfgOptions.h. The valid values for this element are:
PRO_MAT_RMV_LEFT—Specifies a cut on left from the curve.
PRO_MAT_RMV_RIGHT—Specifies a cut on right from the curve.
PRO_E_MFG_DRV_SRF_DIR
PRO_VALUE_TYPE_INT
Optional element. Specifies the flip drive surface direction. The valid values for this element are:
PRO_B_FALSE—The default direction on the drive surface will be used.
PRO_B_TRUE—The opposite direction on the drive surface will be used.
PRO_E_CHECK_SURF_COLL
Compound
Specifies the check surfaces compound definition. The element tree for the Checking Surfaces is defined in the header file ProMfgElemCheckSurf.h. For more information, refer to the section Checking Surfaces for more information on the element tree.
PRO_E_MFG_AXIS_DEF_COMP
Compound
Optional element. Specifies the compound element for the axis definition.
PRO_E_MFG_TRAJ_CORNER_COND
Compound
Optional element. Specifies the compound element for the corner condition.
PRO_E_MFG_TRAJ_CORNER_DFLT_TYPE
PRO_VALUE_TYPE_INT
Specifies the default corner type. The valid values for this element are defined in the enumerated type ProTmTrajCornerType and are as follows:
PRO_TM_TRAJ_CORNER_TYPE_SHARP
PRO_TM_TRAJ_CORNER_TYPE_FILLET
PRO_TM_TRAJ_CORNER_TYPE_CHAMFER
PRO_TM_TRAJ_CORNER_TYPE_LOOP
PRO_TM_TRAJ_CORNER_TYPE_STRAIGHT
PRO_E_MFG_TRAJ_CORNER_ARR
Array
Optional element. Specifies an array for the corner condition.
PRO_E_MFG_TRAJ_CORNER
Compound
Optional element. Specifies the corner condition item.
PRO_E_MFG_TRAJ_CORNER_TYPE
PRO_VALUE_TYPE_INT
Specifies the default corner type. The valid values for this element are defined in the enumerated type ProTmTrajCornerType and are as follows:
PRO_TM_TRAJ_CORNER_TYPE_SHARP
PRO_TM_TRAJ_CORNER_TYPE_FILLET
PRO_TM_TRAJ_CORNER_TYPE_CHAMFER
PRO_TM_TRAJ_CORNER_TYPE_LOOP
PRO_TM_TRAJ_CORNER_TYPE_STRAIGHT
PRO_E_MFG_TRAJ_CORNER_PREV_ID
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the previous Id for the corner.
PRO_E_MFG_TRAJ_CORNER_NEXT_ID
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the next Id for the corner.
PRO_E_MFG_TRAJ_CORNER_VAL
PRO_VALUE_TYPE_DOUBLE
Specifies the fillet radius or the chamfer dimension. The valid range for this element is from 0 to MAX_DIM_VALUE.
Note:
 
This element is mandatory if the corner type is set to PRO_TM_TRAJ_CORNER_TYPE_FILLET or PRO_TM_TRAJ_CORNER_TYPE_CHAMFER.
這是否有幫助?