Skip to content

Crop T3D

Summary

The Crop T3D keeps a box-shaped part of a volume and discards the rest, like the Crop TOP. Set the box's six sides with Crop Left / Right, Bottom / Top and Back / Front, in voxels or as fractions of the volume. The output is the size of the box.

Switching Unit keeps the box where it is and converts the values for you. A box reaching past the input is filled according to Extend.

Parameters - Crop Page

Crop Left Cropleft - The left side of the box. Float · default 0

Crop Right Cropright - The right side of the box. Float · default 1

Crop Bottom Cropbottom - The bottom of the box. Float · default 0

Crop Top Croptop - The top of the box. Float · default 1

Crop Back Cropback - The back of the box. Float · default 0

Crop Front Cropfront - The front of the box. Float · default 1

Unit Unit ⊞ - The unit of the six sides. Menu · default Fraction

  • Voxels voxels - Voxels of the input.
  • Fraction fraction - Fractions of each side, 0 to 1.
  • Fraction Aspect fractionaspect - Fractions of the width on every axis, so equal values make a cube.

Extend Extend ⊞ - What fills the parts of the box outside the input. Menu · default Repeat

  • Hold hold
  • Zero zero
  • Repeat repeat
  • Mirror mirror

Parameters - Common Page

Output Resolution Outputresolution ⊞ - Whether the output takes its size from the first input or from Resolution. With nothing connected, Resolution is always used. Menu · default Use Input

  • Use Input useinput - The same width, height and depth as the first input.
  • Custom custom - The size set in Resolution.

Resolution Resolution1 Resolution2 Resolution3 ⊞ - Width, height and depth of the output in voxels, when Output Resolution is Custom or nothing is connected. Memory grows quickly: 256 × 256 × 256 at 16-bit float is 128 MB. Int × 3 · default 64 · min 1

Input Smoothness Inputfiltertype ⊞ - How the inputs are sampled when their size differs from the output. Interpolate Pixels is smooth; Nearest Pixel keeps hard, blocky voxels. Menu · default Interpolate Pixels

  • Nearest Pixel nearest
  • Interpolate Pixels linear
  • Mipmap Pixels mipmap

Passes Npasses - Repeats the operation, as the Passes parameter of any TOP. Int · default 1

Pixel Format Format ⊞ - The output's pixel format. Use Input copies the first input's. Choose a float format for values outside 0–1: negative numbers, distances, velocities, or densities above 1. With nothing connected, Use Input gives 8-bit. Menu · default Use Input

Bypass Bypass - Passes the first input through unchanged. Toggle · default Off

Version Version - The T3D version of this operator. Mention it when reporting a problem. Str

Help Help - Opens this operator's page in the T3D documentation. Pulse

Operator Inputs

  • Input 0: Input T3D_in1 - The volume to process.

Operator Outputs

  • Output 0: Output T3D_output - The result.