Grow / Shrink component icon

Grow / Shrink

Nickname GrowShrinkMorphe › 3. Scalar Volume › FilterOutputs Scalar Volume

Grows or shrinks a volume. Choose Dilate or Erode from the right-click menu.

Modes

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

DilateErode

Inputs

NameNickTypeDefaultDescription
Scalar VolumeSScalar VolumeThe input scalar volume.
IterationsIInteger1The number of iterations.

Outputs

NameNickTypeDescription
Scalar VolumeSScalar VolumeThe output volume.

Example definition

Dilating a cross-shaped part
Three intersecting bars are grown by three iterations. The volume is created with a wider band so it has room to grow, and a Preview Scalar Volume section shows the band moving with the surface.
Try
  • Switch to Erode from the right-click menu to shrink instead.
  • Raise Iterations, and Bandwidth on the volume, for larger changes.
  • Slide Section through the box and watch the band in the preview.
Download grow-shrink.gh4 KB · Rhino 8 · Morphé 1.0
Written for Morphé 1.0 · Rhino 8