RhinoCommon API
BrepCreateChamferSurface 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)
Since: 6.0

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 )
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()
Parameters
- face0
- Type: Rhino.GeometryBrepFace
First face to chamfer from. - uv0
- Type: Rhino.GeometryPoint2d
A parameter face0 at the side you want to keep after chamfering. - radius0
- Type: SystemDouble
The distance from the intersection of face0 to the edge of the chamfer. - face1
- Type: Rhino.GeometryBrepFace
Second face to chamfer from. - uv1
- Type: Rhino.GeometryPoint2d
A parameter face1 at the side you want to keep after chamfering. - radius1
- Type: SystemDouble
The distance from the intersection of face1 to the edge of the chamfer. - trim
- Type: SystemBoolean
If true, the input faces will be trimmed, if false, the input faces will be split. - extend
- Type: SystemBoolean
If true, then when one input surface is longer than the other, the chamfer surface is extended to the input surface edges. - tolerance
- Type: SystemDouble
The tolerance. When in doubt, use the document's model absolute tolerance. - outBreps0
- Type: Rhino.GeometryBrep
The trim or split results of the Brep owned by face0. - outBreps1
- Type: Rhino.GeometryBrep
The trim or split results of the Brep owned by face1.
Return Value
Type: BrepArray of Breps if successful.
