Relax component icon

Relax

Nickname RelaxMorphe › 3. Scalar Volume › FilterOutputs Scalar Volume

Relaxes a volume by curvature flow. Choose Laplacian or Mean Curvature from the right-click menu.

Modes

Choose the mode from the component's right-click menu.

LaplacianMean Curvature

Inputs

NameNickTypeDefaultDescription
Scalar VolumeSScalar VolumeThe input scalar volume.
IterationsIInteger1The number of iterations.
MaskoptionalMScalar VolumeOptional volume mask: where (and how strongly) the filter applies. Build it from a region or falloff field with 'From Field'. Unconnected = the filter applies everywhere.
Mask RangeoptionalRgInterval0 to 1Mask values mapped to 0..1 strength: at Min the filter is off, at Max it applies fully, blended in between.
InvertoptionalIvBooleanFalseInvert the mask, so the filter applies where it otherwise would not.

Outputs

NameNickTypeDescription
Scalar VolumeSScalar VolumeThe output volume.

Example definition

Relaxing the rim of a lens
An expression intersects two spheres into a lens with a single sharp rim, centred on the origin in the XZ plane, and repeats it around the Z axis with radial_repeat. Relaxing the volume by curvature flow rounds the rim first, where the curvature is highest.
Try
  • Raise Iterations for a rounder rim.
  • Switch between Laplacian and Mean Curvature from the right-click menu.
  • Change a for the rim radius, t for the thickness at the centre and n for the number of blades.
Download relax.gh4 KB · Rhino 8 · Morphé 1.0
Written for Morphé 1.0 · Rhino 8