Click or drag to resize

BrepInsetFaces Method

Individually insets faces of a brep by offsetting the faces outer edges inward and inner edges out then splitting the face with the offset curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.8
Syntax
public Brep InsetFaces(
	IEnumerable<int> faceIndices,
	double distance,
	bool loose,
	bool ignoreSeams,
	bool creaseCorners,
	double tolerance,
	double angleTolerance
)

Parameters

faceIndices
Type: System.Collections.GenericIEnumerableInt32
the indices of the faces to inset
distance
Type: SystemDouble
The distance to offset along the face
loose
Type: SystemBoolean
If true, offset by moving edit points otherwise offset within tolerance.
ignoreSeams
Type: SystemBoolean
If true, the seam edges are not offset and adjacent edges are extended to meet the seam. Otherwise offset normally.
creaseCorners
Type: SystemBoolean
If true, splitting curves will be made between the creases on edge curves and creases on the inset curves.
tolerance
Type: SystemDouble
The fitting tolerance for the offset. When in doubt, use the document's absolute tolerance.
angleTolerance
Type: SystemDouble
The angle tolerance in radians for identifying creases when creasing corners. When in doubt, use the document's angle tolerance.

Return Value

Type: Brep
The brep with inset faces on success. Null on error.
See Also