input/3d directory and provides the model data together with model placement and camera information captured in the 3D viewer’s viewport state. It supports common 3D file formats and lets you set the render width and height of the viewport in pixels. This node is experimental.
Inputs
Notes on Parameters:
- The
model_fileparameter only lists files with the following extensions: .gltf, .glb, .obj, .fbx, .stl - Files must be placed in the
input/3ddirectory of your ComfyUI installation; subfolders are searched as well, and file paths are shown relative to the input directory - If
model_fileis “none”, no model data is loaded and themodel_3doutput will be empty - If
model_fileis set to a file that does not exist, the node returns a validation error: “Invalid 3D model file: {model_file}” - If
viewport_stateis not a valid viewport state object, it is treated as empty, somodel_3d_infobecomes an empty list andcamera_infois returned as empty
Outputs
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
c79c53dde0c8b3afb7df7b972df749f5040c92d48b47e355c4497d9b0cbf1c22