M_Rhino_Geometry_Brep_CreateChamferSurface - mcneel/rhinocommon-api-docs GitHub Wiki
Brep.CreateChamferSurface Method (BrepFace, Point2d, Double, BrepFace, Point2d, Double, Boolean, Boolean, Double, Brep[], Brep[])
Creates a ruled surface as a bevel between two input surface edges.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Brep[] CreateChamferSurface(
BrepFace face0,
Point2d uv0,
double radius0,
BrepFace face1,
Point2d uv1,
double radius1,
bool trim,
bool extend,
double tolerance,
out Brep[] outBreps0,
out Brep[] outBreps1
)
VB
Public Shared Function CreateChamferSurface (
face0 As BrepFace,
uv0 As Point2d,
radius0 As Double,
face1 As BrepFace,
uv1 As Point2d,
radius1 As Double,
trim As Boolean,
extend As Boolean,
tolerance As Double,
<OutAttribute> ByRef outBreps0 As Brep(),
<OutAttribute> ByRef outBreps1 As Brep()
) As Brep()
- face0
- Type: Rhino.Geometry.BrepFace
First face to chamfer from. - uv0
- Type: Rhino.Geometry.Point2d
A parameter face0 at the side you want to keep after chamfering. - radius0
- Type: System.Double
The distance from the intersection of face0 to the edge of the chamfer. - face1
- Type: Rhino.Geometry.BrepFace
Second face to chamfer from. - uv1
- Type: Rhino.Geometry.Point2d
A parameter face1 at the side you want to keep after chamfering. - radius1
- Type: System.Double
The distance from the intersection of face1 to the edge of the chamfer. - trim
- Type: System.Boolean
If true, the input faces will be trimmed, if false, the input faces will be split. - extend
- Type: System.Boolean
If true, then when one input surface is longer than the other, the chamfer surface is extended to the input surface edges. - tolerance
- Type: System.Double
The tolerance. In in doubt, the the document's model absolute tolerance. - outBreps0
- Type: Rhino.Geometry.Brep[]
The trim or split results of the Brep owned by face0. - outBreps1
- Type: Rhino.Geometry.Brep[]
The trim or split results of the Brep owned by face1.
Type: Brep[]
Array of Breps if successful.
Supported in: 6.0.16224.21491
Brep Class
CreateChamferSurface Overload
Rhino.Geometry Namespace