# Brep.VariationalPatchSettings class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public sealed class Brep.VariationalPatchSettings
```

Settings for the variational patch creation

## Constructors

- [Brep.VariationalPatchSettings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/ctor.md): (2 overloads) Constructor with defaults

## Properties

- [AngleToleranceRadians](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/angletoleranceradians.md): Tolerance for normal (G1) constraints
- [Bending](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/bending.md): Bending to apply (default 0.3)
- [CurvatureRelativeTolerance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/curvaturerelativetolerance.md): Relative curvature (G2) tolerance between curvature values that are both not smaller than [Brep.VariationalPatchSettings.CurvatureZeroTolerance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/curvaturezerotolerance.md).
- [CurvatureZeroTolerance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/curvaturezerotolerance.md): Curvature value considered to be zero.
- [DegreeU](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/degreeu.md): Surface degree in U-direction
- [DegreeV](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/degreev.md): Surface degree in V-direction
- [Domain](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/domain.md): The domain creation option
- [InitialSurface](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/initialsurface.md): The initial surface to use (default: null). The initial surface may not be rational.
- [InternalTolerance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/internaltolerance.md): Tolerance for positional (G0int) constraints on internal curves
- [MaxRefinements](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/maxrefinements.md): The maximum number of refinements to apply (default 5).
- [PreserveEdges](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/preserveedges.md): When an initial surface has been set, use [Brep.VariationalPatchSettings.PreserveEdges](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/preserveedges.md) to fix the surface boundary.
- [RocBending](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/rocbending.md): Rate-of-change in bending to apply (default 0.7)
- [SpanCountU](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/spancountu.md): Number of spans in U-direction
- [SpanCountV](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/spancountv.md): Number of spans in V-direction
- [Stretching](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/stretching.md): Stretching to apply (default 0, better not change)
- [Tolerance](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/tolerance.md): Tolerance for positional (G0) constraints on edges
- [UVRotation](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.brep.variationalpatchsettings/uvrotation.md): The rotation angle of the UV domain
