Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The VoxelToMesh node converts 3D voxel data into a mesh geometry by extracting a surface at a specified threshold value. It offers two algorithms for surface extraction: a basic method that creates simple box-like faces, and a surface net method that produces smoother, more detailed meshes. The node processes each voxel grid in the input and generates vertices and faces that form a 3D mesh representation.

Inputs

ParameterData TypeRequiredRangeDescription
voxelVOXELYes-The input voxel data to convert to mesh geometry
algorithmCOMBOYes"surface net"
"basic"
The algorithm used for surface extraction. “surface net” produces smoother meshes, while “basic” creates simple box-like faces (default: “surface net”)
thresholdFLOATYes-1.0 to 1.0The threshold value for surface extraction. Voxels with values above this threshold are considered solid (default: 0.6)

Outputs

Output NameData TypeDescription
MESHMESHThe generated 3D mesh containing vertices and faces from all input voxel grids. If all voxel grids produce meshes with identical shapes, the output is a stacked tensor; otherwise, a variable-length batch is returned

Source fingerprint (SHA-256): b600be13f1a484d8c0cc1f9c3918630d00c15d35008bcac0f677b21ef64b5d98