Skip to content

M_Rhino_Geometry_Brep_CopyTrimCurves

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Brep.CopyTrimCurves Method

Copy all trims from a Brep face onto a surface.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

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

Parameters

 

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.

Return Value

Type: Brep
A brep with the shape of surfaceSource and the trims of trimSource or null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
Rhino.Geometry Namespace

Clone this wiki locally