M_Rhino_Geometry_Brep_CreatePatch - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.CreatePatch Method (IEnumerable(GeometryBase), Surface, Double)

Constructs a brep patch. This is the simple version of fit that uses a specified starting surface.

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

Syntax

C#

public static Brep CreatePatch(
	IEnumerable<GeometryBase> geometry,
	Surface startingSurface,
	double tolerance
)

VB

Public Shared Function CreatePatch ( 
	geometry As IEnumerable(Of GeometryBase),
	startingSurface As Surface,
	tolerance As Double
) As Brep

Parameters

 

geometry
Type: System.Collections.Generic.IEnumerable(GeometryBase)
Combination of Curves, BrepTrims, Points, PointClouds or Meshes. Curves and trims are sampled to get points. Trims are sampled for points and normals.
startingSurface
Type: Rhino.Geometry.Surface
A starting surface (can be null).
tolerance
Type: System.Double
Tolerance used by input analysis functions for loop finding, trimming, etc.

Return Value

Type: Brep
Brep fit through input on success, or null on error.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
CreatePatch Overload
Rhino.Geometry Namespace

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