M_Rhino_Geometry_Extrusion_ToBrep - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public Brep ToBrep(
bool splitKinkyFaces
)
VB
Public Function ToBrep (
splitKinkyFaces As Boolean
) As Brep
- 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.
Type: Brep
A brep with a similar shape like this extrustion, or null on error.
Supported in: 6.0.16224.21491, 5D58w