> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# VaeDecodeShapeTrellis（VaeDecodeShapeTrellis）

<div class="node-meta"><code>VaeDecodeShapeTrellis</code><span>model/latent/trellis</span><span>角色：3D 网格</span></div>

此节点将 Trellis2 形状潜在表示解码为 3D 网格。它使用 VAE 将稀疏形状潜在数据转换为网格几何体，并同时输出解码过程中生成的形状细分数据。此节点支持单个和批量潜在输入，并自动将网格朝向调整到预期的坐标框架。

## 参数

| 参数        | 类型           | 默认 / 范围 | 说明                             |
| --------- | ------------ | ------- | ------------------------------ |
| `samples` | LATENT · 潜空间 | —（连线输入） | LATENT。采样器的输入/输出，需 VAE 解码才能看图。 |
| `vae`     | VAE · 自编码器   | —（连线输入） | 用于将形状潜在表示解码为网格的 VAE 模型。        |

## 输出

| 输出               | 类型               | 说明               |
| ---------------- | ---------------- | ---------------- |
| mesh             | MESH             | 网格               |
| shape_subdivides | SHAPE_SUBDIVIDES | SHAPE_SUBDIVIDES |

## 怎么接

- **上游**：EmptyLatentImage / VAEEncode / KSampler
- **下游**：SaveGLB / RenderMesh
- **接线**：上游接 3D 生成模型或 Load3D，输出接 RenderMesh（出图）、SaveGLB（导出）或下一个网格处理节点；注意单位与坐标系保持一致。

## 使用案例

从 `samples`、`vae` 开始填就能跑起来。典型接法：`EmptyLatentImage` → 本节点 → `SaveGLB`。输出类型是 MESH，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

![VaeDecodeShapeTrellis 端口与连线示意](/svg/VaeDecodeShapeTrellis.svg)

## 同类节点

[EmptyTrellis2LatentStructure](/nodes/04/EmptyTrellis2LatentStructure.md) · [VaeDecodeStructureTrellis2](/nodes/04/VaeDecodeStructureTrellis2.md) · [VaeDecodeTextureTrellis](/nodes/04/VaeDecodeTextureTrellis.md)
