> ## 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.

# Save3DAdvanced - ComfyUI Built-in Node Documentation

> Saves a 3D model to a file in the ComfyUI output directory and produces a preview of the saved scene.

Saves a 3D model to a file in the ComfyUI output directory and produces a preview of the saved scene. It also passes the 3D model, its placement in the scene, camera information, and viewport dimensions through to downstream nodes. When model placement or camera information are not connected, the node uses the values stored in the viewport state.

## Inputs

| Parameter         | Description                                                                                                                                                      | Data Type       | Required | Range                                                       |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | -------- | ----------------------------------------------------------- |
| `model_3d`        | 3D model file from an upstream 3D node.                                                                                                                          | FILE3D          | Yes      | GLB<br />GLTF<br />FBX<br />OBJ<br />STL<br />USDZ<br />Any |
| `filename_prefix` | Prefix used for the saved file name (default: "3d/ComfyUI").                                                                                                     | STRING          | Yes      | Free text                                                   |
| `viewport_state`  | Viewport state containing camera and model placement information, typically from a Load 3D node.                                                                 | LOAD3D          | Yes      | -                                                           |
| `model_3d_info`   | Placement of each model in the scene: position, rotation, and scale (Y-up world space). Overrides the model placement stored in `viewport_state` when connected. | LOAD3DMODELINFO | No       | -                                                           |
| `camera_info`     | Viewport camera information: position, look-at target, zoom, and type. Overrides the camera information stored in `viewport_state` when connected.               | LOAD3DCAMERA    | No       | -                                                           |
| `width`           | Render width of the viewport in pixels (default: 1024).                                                                                                          | INT             | Yes      | 1 to 4096                                                   |
| `height`          | Render height of the viewport in pixels (default: 1024).                                                                                                         | INT             | Yes      | 1 to 4096                                                   |

Note: `model_3d_info` and `camera_info` are optional. When either input is not connected, the node falls back to the corresponding values stored in `viewport_state`.

## Outputs

| Output Name     | Description                                                                             | Data Type       |
| --------------- | --------------------------------------------------------------------------------------- | --------------- |
| `model_3d`      | The 3D model file passed through from the input.                                        | FILE3D          |
| `model_3d_info` | Placement of each model in the scene: position, rotation, and scale (Y-up world space). | LOAD3DMODELINFO |
| `camera_info`   | Viewport camera information: position, look-at target, zoom, and type.                  | LOAD3DCAMERA    |
| `width`         | The render width value passed through from the input.                                   | INT             |
| `height`        | The render height value passed through from the input.                                  | 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/Save3DAdvanced/en.md)

***

**Source fingerprint (SHA-256):** `27cb15c5cf382e6e5b8164cfd456993404222c61d59edff2d51f9f1c8e47b25f`
