> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VoxelToMesh - ComfyUI Built-in Node Documentation

> VoxelToMesh 节点通过在指定阈值处提取表面，将 3D 体素数据转换为网格几何体。

VoxelToMesh 节点通过在指定阈值处提取表面，将 3D 体素数据转换为网格几何体。它提供两种表面提取算法：一种创建简单盒状面的基础方法，以及一种生成更平滑、更精细网格的 surface net 方法。该节点处理输入中的每个体素网格，并生成构成 3D 网格表示的顶点和面。

## 输入

| 参数   | 描述                                                                    | 数据类型  | 必需 | 范围                             |
| ---- | --------------------------------------------------------------------- | ----- | -- | ------------------------------ |
| `体素` | 要转换为网格几何体的输入体素数据                                                      | VOXEL | 是  | -                              |
| `算法` | 用于表面提取的算法。"surface net" 生成更平滑的网格，而 "basic" 创建简单的盒状面（默认："surface net"） | COMBO | 是  | `"surface net"`<br />`"basic"` |
| `阈值` | 表面提取的阈值。值高于此阈值的体素被视为实体（默认：0.6）                                        | FLOAT | 是  | -1.0 到 1.0                     |

## 输出

| 输出名称   | 描述                                                                 | 数据类型 |
| ------ | ------------------------------------------------------------------ | ---- |
| `MESH` | 生成的 3D 网格，包含来自所有输入体素网格的顶点和面。如果所有体素网格生成的网格形状相同，则输出为堆叠张量；否则，返回可变长度批次 | MESH |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/VoxelToMesh/zh.md)

***

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