BrepCopyTrimCurves Method |
Copy all trims from a Brep face onto a surface.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static Brep CopyTrimCurves(
BrepFace trimSource,
Surface surfaceSource,
double tolerance
)
Public Shared Function CopyTrimCurves (
trimSource As BrepFace,
surfaceSource As Surface,
tolerance As Double
) As Brep
Parameters
- trimSource
- Type: Rhino.GeometryBrepFace
Brep face which defines the trimming curves. - surfaceSource
- Type: Rhino.GeometrySurface
The surface to trim. - tolerance
- Type: SystemDouble
Tolerance to use for rebuilding 3D trim curves.
Return Value
Type:
BrepA brep with the shape of surfaceSource and the trims of trimSource or null on failure.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also