Click or drag to resize
BrepCreateTrimmedSurface Method
Rhino 5 for Windows
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: 5.1.30000.17 (5.13.60913.21340)
public static Brep CreateTrimmedSurface(
	BrepFace trimSource,
	Surface surfaceSource


Type: Rhino.GeometryBrepFace
BrepFace which contains trimmingSource brep.
Type: Rhino.GeometrySurface
Surface that trims of BrepFace will be applied to.

Return Value

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