Skip to content

M_Rhino_Geometry_Extrusion_ToBrep

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

Extrusion.ToBrep Method (Boolean)

Constructs a brep form of the extrusion. The outer profile is always the first face of the brep. If there are inner profiles, additional brep faces are created for each profile. If the outer profile is closed, then end caps are added as the last two faces of the brep.

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

Syntax

C#

public Brep ToBrep(
	bool splitKinkyFaces
)

VB

Public Function ToBrep ( 
	splitKinkyFaces As Boolean
) As Brep

Parameters

 

splitKinkyFaces
Type: System.Boolean
If true and the profiles have kinks, then the faces corresponding to those profiles are split so they will be G1.

Return Value

Type: Brep
A brep with a similar shape like this extrustion, or null on error.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Extrusion Class
ToBrep Overload
Rhino.Geometry Namespace

Clone this wiki locally