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

# PreviewPointCloud - ComfyUI Built-in Node Documentation

> The Preview Point Cloud node lets you view a 3D point cloud file directly in the ComfyUI interface without saving it to the ComfyUI output directory.

The Preview Point Cloud node lets you view a 3D point cloud file directly in the ComfyUI interface without saving it to the ComfyUI output directory. It saves the point cloud to a temporary location and displays it in a 3D preview window, while also passing the model data, camera information, and viewport state through for further processing.

## Inputs

| Parameter        | Description                                  | Data Type       | Required | Range     |
| ---------------- | -------------------------------------------- | --------------- | -------- | --------- |
| `model_3d`       | Point cloud file (.ply)                      | FILE3D          | Yes      | -         |
| `model_3d_info`  | Information about the 3D model               | LOAD3DMODELINFO | No       | -         |
| `viewport_state` | The current viewport state                   | LOAD3D          | Yes      | -         |
| `camera_info`    | Camera information for the 3D view           | LOAD3DCAMERA    | No       | -         |
| `width`          | Width of the preview window (default: 1024)  | INT             | Yes      | 1 to 4096 |
| `height`         | Height of the preview window (default: 1024) | INT             | Yes      | 1 to 4096 |

Note: When `camera_info` or `model_3d_info` are not connected, the node falls back to the corresponding values stored in `viewport_state`. The point cloud file is saved to ComfyUI's temporary directory and is not written to the output directory. This is an output node, so it is primarily used to display the preview result in the interface.

## Outputs

| Output Name     | Description                        | Data Type       |
| --------------- | ---------------------------------- | --------------- |
| `model_3d`      | The point cloud model data         | FILE3D          |
| `model_3d_info` | Information about the 3D model     | LOAD3DMODELINFO |
| `camera_info`   | Camera information for the 3D view | LOAD3DCAMERA    |
| `width`         | Width of the preview window        | INT             |
| `height`        | Height of the preview window       | 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/PreviewPointCloud/en.md)

***

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