Description
Divides each face in a specified shell into sub-meshes and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.SubdivideShell2(shellID As RFEntityID, bPreserveSharpEdge As Boolean, bPreserveMark As Boolean, iMethod As RFSubdivisionMethod, bNotAdjustVertexPosition As Boolean, bSubdivideByCurvature As Boolean, iCurvatureRegion As RFCurvatureRegion, dLowCurvatureCriteriaMultiplier As Double, bPreserveTextureIfAny As Boolean, iTextureResolution As Long) As RFErrorCode
The SubdivideShell2 syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Shell's RFEntityID to subdivide. |
| bPreserveSharpEdge | [IN] Boolean Required. It determines whether creasing edges are not subdivided. |
| bPreserveMark | [IN] Boolean Required. It determines whether preserving mark of vertices or faces. |
| iMethod | [IN] RFSubdivisionMethod Required. Subdivision method. |
| bNotAdjustVertexPosition | [IN] Boolean Required. It determines whether adjusting the position of existing vertices. |
| bSubdivideByCurvature | [IN] Boolean Required. It determines whether subdividing the curvartured region only. |
| iCurvatureRegion | [IN] RFCurvatureRegion Required. Kind of curvature region. |
| dLowCurvatureCriteriaMultiplier | [IN] Double Required. Multiplier for classifying the curvature region. |
| bPreserveTextureIfAny | [IN] Boolean Required. It determines whether preserving the texture if any. |
| iTextureResolution | [IN] Long Required. Texture resolution if texture should be preserved. |
Remarks