Click or drag to resize

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
Syntax
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
)

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: Brep
Array of Breps if successful.
See Also