M_Rhino_Geometry_Brep_CopyTrimCurves - mcneel/rhinocommon-api-docs GitHub Wiki
Copy all trims from a Brep face onto a surface.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Brep CopyTrimCurves(
BrepFace trimSource,
Surface surfaceSource,
double tolerance
)VB
Public Shared Function CopyTrimCurves (
trimSource As BrepFace,
surfaceSource As Surface,
tolerance As Double
) As Brep
- trimSource
- Type: Rhino.Geometry.BrepFace
Brep face which defines the trimming curves. - surfaceSource
- Type: Rhino.Geometry.Surface
The surface to trim. - tolerance
- Type: System.Double
Tolerance to use for rebuilding 3D trim curves.
Type: Brep
A brep with the shape of surfaceSource and the trims of trimSource or null on failure.
Supported in: 6.0.16224.21491, 5D58w