FieldCrop

The FieldCrop node crops a field to a bounding box.

Inputs and Controls

Connection Type

Connection Name

Function

Input

fld

An input for connecting to Field data that you wish to crop.

Control (UI)

Knob (Scripting)

Default Value

Function

FieldCrop Tab

Edges

edges

Ignore

Tells the node what to do when cropping outside of bounds. Select from Ignore, Clamp, or Value. If Value is selected, the Value knob below will be enabled.

Value

value

x = 0, y = 0, z = 0

Specifies the x, y, and z values of the field.

Bounds bounds x = 0, y = 0, n = 0, r = 2, t = 1, f = 1 The new bounds of the field.
Set bounds from input set_bbox N/A Set the bounds knob from the input field bounds (if any)
Display Tab
Draw Bounding Box preview_bounds off Draw the bounding box of the field if it has one.
Draw Preview (SDF and Density only) preview_on off Draw a rough preview of the field.
Preview Opacity preview_opacity 0.5 The opacity at which to draw the preview.
Scale preview_scale 1 A value by which the field is multiplied before drawing. You may need to increase this to display faint volumes for example.
Offset preview_offset 0 A value added to the field before drawing (after scaling).
Detail preview_detail 1 The detail level at which the preview is drawn. Large values are more accurate but slower to draw.