RFSurfaceTools.TrimNurbsSurface
Description
Trims a specified NURBS surface by a set of specified 3D NURBS curves and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFSurfaceTools.TrimNurbsSurface(surfaceID As RFEntityID,
curveCount As Long, pBoundaryCurveIDs As RFEntityID) As RFErrorCode
The TrimNurbsSurface syntax has these parts:
| Part |
Description |
| surfaceID |
[IN] RFEntityID Required. NURBS surface's RFEntityID to trim. |
| curveCount |
[IN] Long Required. Number of trimming boundary NURBS curves. |
| pBoundaryCurveIDs |
[IN] RFEntityID Required. The first element of RFEntityID array containing trimming boundary NURBS curves RFEntityID. |
Remarks
- This method differs with RFNurbsSurface.Add3DTrimLoop method in that the trimming boundary curves should be created and added in the model prior to calling this method.
- Specified NURBS curves should be connected successively and properly ordered to form a closed loop. Trimming region is defined by the NURBS curves connecting order following the right-hand rule. That is, if NURBS curves are connected in the order of outward direction by right-hand rule, the outside of loop is trimmed. If NURBS curves are connected in the order of inward direction by right-hand rule, the inside of loop is trimmed.
- To remove trimming information from a specified NURBS surface, use RFSurfaceTools.UntrimNurbsSurface method.
Return to Rapidform Index