Customizes the SMS_EDGE node.
Sample Output:
The following examples show the use of S3DGEOMETRY for customization in the SMS_OUTPUT.xml document:
<!--- Standard export style -->
<S3DGEOMETRY NAME="LINEARC" TYPE="0" />
<!-- Split Curve option - for all curves -->
<S3DGEOMETRY NAME="SPLIT CURVE" TYPE="1"/>
<!--customized export-->
<S3DGEOMETRY NAME="CUSTOMIZED" TYPE="2" GEOM_TYPE="29" CURVE_TYPE="curve">
<S3D_RULE NAME="STROKE_TYPE1">
<S3D_ARG NAME="StrokeCriterion">
<VALUE>1</VALUE>
</S3D_ARG>
<S3D_ARG NAME="Distance" UNIT="61" UNIT_TYPE="1">
<VALUE>30</VALUE>
</S3D_ARG>
</S3D_RULE>
</S3DGEOMETRY>
-
Type “0” specifies a standard line-arc output. Setting this customization removes the split curve option if it is set in the catalog. If it is the only customization set for a part type the software excludes that part type from customizations made at the “*” level.
-
Type “1” specifies split curves. You can apply this option all curves (not by geometry type). This option is an alternative to specifying split curves in the catalog.
-
Type “2” specifies that the geometry elements determined by GEOM_TYPE are stroked into points. The NAME attribute in the S3D_RULE element specifies whether system- or user-defined stroke methods are used (with “STROKE_TYPE1” corresponding to system-defined methods).
-
The first S3D_ARG element describes which specific stroke method are used (values from 1 to 3 as defined in the StrokeCriterion enumerator defined in Smart 3D.
-
The second S3D_ARG element describes the distance argument to be used by the stroke method (UNIT and UNIT_TYPE must be defined for this element)
-
Sample Output
Standard Output:
<SMS_EDGE TYPE="scallop" PART_DIR="L" GEOM2D_GUID="0010EFF5-0000-0000-AE02-5C324D592904" CURVE_TYPE="arc" LENGTH="77.555" ITEM_NAME="Scallop Along Corner">
<CVG_CURVE>
<CVG_VERTEX POINT_CODE="s_point" SEG_TYPE="cw" SX="0.921" SY="49.928" A="-0.00002481" B="-0.06398316" C="50.00006661"/>
<CVG_VERTEX POINT_CODE="e_point" SEG_TYPE="dummy" SX="50.000" SY="0.000" A="0.0" B="0.0" C="0.0"/>
</CVG_CURVE>
Customized Output:
<SMS_EDGE TYPE="scallop" PART_DIR="L" GEOM2D_GUID="0010EFF5-0000-0000-AE02-5C324D592904" CURVE_TYPE="arc" LENGTH="77.555" ITEM_NAME="Scallop Along Corner">
<CVG_CURVE>
<CVG_VERTEX POINT_CODE="s_point" SEG_TYPE="point" SX="0.9206979" SY="49.92761" A="0" B="0" C="0"/>
<CVG_VERTEX POINT_CODE="node" SEG_TYPE="point" SX="28.9872227" SY="40.676" A="0" B="0" C="0"/>
<CVG_VERTEX POINT_CODE="node" SEG_TYPE="point" SX="46.9276924" SY="17.1927834" A="0" B="0" C="0"/>
<CVG_VERTEX POINT_CODE="e_point" SEG_TYPE="point" SX="50" SY="4.33680869E-15" A="0" B="0" C="0"/>
</CVG_CURVE>