RhinoCommon API
MeshWithEdgeSoftening Method |
Constructs new mesh from the current one, with edge softening applied to it.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public Mesh WithEdgeSoftening( double softeningRadius, bool chamfer, bool faceted, bool force, double angleThreshold )
Public Function WithEdgeSoftening ( softeningRadius As Double, chamfer As Boolean, faceted As Boolean, force As Boolean, angleThreshold As Double ) As Mesh
Parameters
- softeningRadius
- Type: SystemDouble
The softening radius. - chamfer
- Type: SystemBoolean
Specifies whether to chamfer the edges. - faceted
- Type: SystemBoolean
Specifies whether the edges are faceted. - force
- Type: SystemBoolean
Specifies whether to soften edges despite too large a radius. - angleThreshold
- Type: SystemDouble
Threshold angle (in degrees) which controls whether an edge is softened or not. The angle refers to the angles between the adjacent faces of an edge.
Return Value
Type: MeshA new mesh with soft edges.

Exception | Condition |
---|---|
InvalidOperationException | If displacement failed because of an error. The exception message specifies the error. |
