> ## Documentation Index
> Fetch the complete documentation index at: https://comfyuiwiki.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SavePointCloud - ComfyUI Built-in Node Documentation

> Complete documentation for the SavePointCloud node in ComfyUI. Learn its inputs, outputs, parameters and usage.

The Save Point Cloud node saves a 3D point cloud file to the output directory and optionally provides preview data for the 3D viewer. It handles file naming and saving, while also passing through camera and model information for display purposes.

## Inputs

| Parameter         | Description                                                    | Data Type                                | Required | Range     |
| ----------------- | -------------------------------------------------------------- | ---------------------------------------- | -------- | --------- |
| `model_3d`        | Point cloud file (.ply)                                        | FILE3D\_POINT\_CLOUD\_ANY or FILE3D\_PLY | Yes      | -         |
| `filename_prefix` | Prefix for the saved file name (default: "3d/ComfyUI")         | STRING                                   | Yes      | -         |
| `viewport_state`  | Current viewport state containing camera and model information | LOAD3D                                   | Yes      | -         |
| `model_3d_info`   | Additional model information for the 3D viewer                 | LOAD3D\_MODEL\_INFO                      | No       | -         |
| `camera_info`     | Camera information for the 3D viewer                           | LOAD3D\_CAMERA                           | No       | -         |
| `width`           | Width of the preview display in pixels (default: 1024)         | INT                                      | Yes      | 1 to 4096 |
| `height`          | Height of the preview display in pixels (default: 1024)        | INT                                      | Yes      | 1 to 4096 |

## Outputs

| Output Name     | Description                          | Data Type                 |
| --------------- | ------------------------------------ | ------------------------- |
| `model_3d`      | The saved point cloud file           | FILE3D\_POINT\_CLOUD\_ANY |
| `model_3d_info` | Model information for the 3D viewer  | LOAD3D\_MODEL\_INFO       |
| `camera_info`   | Camera information for the 3D viewer | LOAD3D\_CAMERA            |
| `width`         | Width of the preview display         | INT                       |
| `height`        | Height of the preview display        | INT                       |

> 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/SavePointCloud/en.md)

***

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