get_volume_info
Inspect volume or VDB primitives to report per-volume statistics and optionally analyze voxel distribution via threshold or bins. Identify non-empty density fields before wiring solver sourcing.
Instructions
Per-volume name, resolution, active voxels, value range, mean and sum.
A primitive count cannot tell a correctly named non-empty density field from an empty one, which is the question worth asking before wiring a solver's sourcing. This is the SOP counterpart of get_cop_vdb.
threshold or bins read the voxels (VDB: active ones) for percentiles, a histogram, the count over threshold and box_above_threshold, the world box of the voxels over it: where the smoke is, not where the grid is.
Args: node_path: SOP node path holding volume or VDB primitives. max_volumes: Cap on volumes reported. threshold: Split the voxels at this value and box the ones above it. bins: Histogram bin count, or a list of bin edges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | ||
| node_path | Yes | ||
| threshold | No | ||
| max_volumes | No |