Retract Elements
The element PRO_E_RETR_SURF is documented in the header file ProMfgElemRetract.h, and is as shown in the following figure.
Figure 174. Element tree for PRO_E_RETR_SURF element
The following table lists the contents of PRO_E_RETR_SURF element.
Element ID
Data Type
Description
PRO_E_RETR_SURF_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the type of retract surface. The valid values for this element are:
PRO_RETR_SURF_UNDEFINED—Specifies that the retract surface type is not defined. This value is applicable only for manufacturing operations.
PRO_RETR_SURF_PLANE—Specifies that the retract surface defined is a planar surface.
PRO_RETR_SURF_CYLINDER—Specifies that the retract surface defined is a cylindrical surface.
PRO_RETR_SURF_SPHERE—Specifies that the retract surface defined is a spherical surface.
PRO_RETR_SURF_REVOLVED—Specifies that the retract surface defined is a revolved surface.
Note:
 
The values PRO_RETR_SURF_CYLINDER, PRO_RETR_SURF_SPHERE, and PRO_RETR_SURF_REVOLVED are not applicable for 3-axis sequences and operations with 3-axis workcell.
PRO_E_RETR_SURF_REF
PRO_VALUE_TYPE_SELECTION
Mandatory element. Specifies the selection of retract surface. The type of reference depends on values specified for the element PRO_E_RETR_SURF_TYPE. The valid values for this element are:
Plane retract: Planar retract includes datum plane, planar surface, planar quilt and coordinate system.
Note:
 
For 3-axis sequence (operation):
Planar surface must be normal to Z axis of the sequence (operation) coordinate system.
Z axis of selected datum coordinate system must be alligned with Z axis of sequence (operation) coordinate system.
Cylinder retract: Cylinder retract includes datum axis and coordinate system.
Sphere retract: It includes datum point and coordinate system.
Revolved surface retract: It includes revolved quilts.
PRO_E_RETR_SURF_ORIENT
PRO_VALUE_TYPE_INT
Specifies the orientation of the axis for the retract cylinder if coordinate system is selected as retract reference
The valid values for this element are:
PRO_RETR_SURF_X_DIR
PRO_RETR_SURF_Y_DIR
PRO_RETR_SURF_Z_DIR
Note:
 
This element is mandatory if coordinate system is selected for cylindrical retract reference and is ignored in all other cases.
PRO_E_RETR_SURF_VALUE
PRO_VALUE_TYPE_DOUBLE
Mandatory element. Specifies the offset value for the planar retract. For cylindrical and spherical retracts, this element specifies the value of the radius.
Isto foi útil?