> ## 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.

# VoxelToMesh - ComfyUI Built-in Node Documentation

> The VoxelToMesh node converts 3D voxel data into a mesh geometry by extracting a surface at a specified threshold value.

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

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `voxel` | The input voxel data to convert to mesh geometry | VOXEL | Yes | - |
| `algorithm` | The algorithm used for surface extraction. "surface net" produces smoother meshes, while "basic" creates simple box-like faces (default: "surface net") | COMBO | Yes | `"surface net"`<br />`"basic"` |
| `threshold` | The threshold value for surface extraction. Voxels with values above this threshold are considered solid (default: 0.6) | FLOAT | Yes | -1.0 to 1.0 |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `MESH` | The 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 | MESH |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/VoxelToMesh/en.md)

***

**Source fingerprint (SHA-256):** `b600be13f1a484d8c0cc1f9c3918630d00c15d35008bcac0f677b21ef64b5d98`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.