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

# 创建 3D 文件（由 Splat）（SplatToFile3D）

<div class="node-meta"><code>SplatToFile3D</code><span>3d/splat</span><span>角色：功能节点</span></div>

SplatToFile3D 节点将高斯溅射转换为 File3D 对象，该对象可与 Save 或 Preview 3D 节点一起使用。它仅支持每个批次一个项目，并允许你为导出的 3D 数据选择不同的输出文件格式。

## 参数

| 参数       | 类型           | 默认 / 范围        | 说明                     |
| -------- | ------------ | -------------- | ---------------------- |
| `splat`  | SPLAT · 高斯泼溅 | —（连线输入）        | 要序列化为文件的高斯溅射数据         |
| `format` | COMBO        | ply、ksplat、spz | 编码容器与编码器组合，如 mp4/h264。 |

## 输出

| 输出       | 类型                | 说明                |
| -------- | ----------------- | ----------------- |
| model_3d | FILE_3D_SPLAT_ANY | FILE_3D_SPLAT_ANY |

## 怎么接

- **上游**：3D 重建 / File3DToSplat
- **下游**：同类型下游
- **接线**：上游由 3D 重建 / File3DToSplat 提供 `splat`，输出 `model_3d`（FILE_3D_SPLAT_ANY） 交给 同类型下游。

## 使用案例

从 `splat`、`format`（ply、ksplat、spz） 开始填就能跑起来。典型接法：`3D 重建` → 本节点 → `同类型下游`。输出类型是 FILE_3D_SPLAT_ANY，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

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

## 同类节点

[获取 Splat](/nodes/11/File3DToSplat.md) · [获取 Splat 数量](/nodes/11/GetSplatCount.md) · [合并 Splats](/nodes/11/MergeSplat.md) · [渲染 Splat](/nodes/11/RenderSplat.md) · [从 Splat 提取网格](/nodes/11/SplatToMesh.md) · [变换 Splat](/nodes/11/TransformSplat.md)
