DeepCrop
Keep samples inside a bbox and a depth range.
| Node | DeepCrop |
|---|---|
| Menu | Deep › DeepCrop |
| Names in each format | |
| .oink comp (JSON) | "type": "OC_N_deepcrop" |
| .nk script | DeepCrop (how .nk import works) |
| Python | nuke.createNode("DeepCrop") |
| Assistant (MCP) | create_node(type="DeepCrop") |
| Tab search | deepcrop, or its initials dc |

Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | Deep | image |
| output 0 | Image | image |
Knobs
Panel tab Deepcrop, in panel order.
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
bbox | bbox | vector ×4 | 0, 0, 0, 0 | -10000 to 10000 | bbox | x y r t (Nuke px, y up); all 0 = no xy crop |
use_bbox | use bbox | bool | true | use_bbox | ||
znear | znear | float | 0 | 0 to 1000 | znear | |
use_znear | use znear | bool | true | use_znear | ||
zfar | zfar | float | 10000000000 | 0 to 10000000000 | zfar | |
use_zfar | use zfar | bool | true | use_zfar |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string |