Preview Field 2D component icon

Preview Field 2D

Nickname PreviewField2DMorphe › 2. Implicit › Preview

Preview a rectangular section of a field as a smooth colour-mapped slice with distance contours drawn on top. Leave the Rectangle empty to auto-section a bounded input (an Implicit) along the plane chosen in the right-click menu; a plain unbounded Field always needs a Rectangle.

Inputs

NameNickTypeDefaultDescription
FieldFFieldThe field to preview.
RectangleoptionalRRectangleSection rectangle to sample over. Required for a plain (unbounded) Field. Leave empty to auto-section a bounded input (an Implicit) along the plane chosen in the right-click menu.
ResolutionResInteger50Number of samples across the rectangle's width (its height is scaled to keep the grid square).
Ramp ScalekNumber1Ramp spread: a relative multiplier, not an absolute distance. The ramp auto-fits the section's distance range, so the same value looks the same at any geometry size. 1 uses most of the gradient; higher hugs the surface, lower spreads the ramp wider. The surface (value 0) is always the seam.
SectionTNumber0.5Auto-section position (0–1) along the input's bounding box, on the axis perpendicular to the chosen plane. Used only when no Rectangle is supplied.
Contour IntervalCiNumber1Spacing between contour isolines, in field-value (world) units. A line is drawn wherever the field crosses a nonzero multiple of this interval; the surface (value 0) itself is not drawn. Interior lines (value < 0) draw blue; exterior lines (value > 0) draw grey. Set 0 for no contour lines.

Messages

What the component may report, shown as a balloon on the canvas.

LevelMessage
WarningThis is an unbounded Field: supply a Rectangle to define the section. (A bounded input, such as an Implicit, auto-sections along the chosen plane.)
Written for Morphé 1.0 · Rhino 8