M_Rhino_Geometry_Brep_CreateTrimmedSurface_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.CreateTrimmedSurface Method (BrepFace, Surface, Double)

Constructs a Brep using the trimming information of a brep face and a surface. Surface must be roughly the same shape and in the same location as the trimming brep face.

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

Syntax

C#

public static Brep CreateTrimmedSurface(
	BrepFace trimSource,
	Surface surfaceSource,
	double tolerance
)

VB

Public Shared Function CreateTrimmedSurface ( 
	trimSource As BrepFace,
	surfaceSource As Surface,
	tolerance As Double
) As Brep

Parameters

 

trimSource
Type: Rhino.Geometry.BrepFace
BrepFace which contains trimmingSource brep.
surfaceSource
Type: Rhino.Geometry.Surface
Surface that trims of BrepFace will be applied to.
tolerance
Type: System.Double
[Missing documentation for "M:Rhino.Geometry.Brep.CreateTrimmedSurface(Rhino.Geometry.BrepFace,Rhino.Geometry.Surface,System.Double)"]

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

See Also

Reference

Brep Class
CreateTrimmedSurface Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️