Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Hunyuan3DWrapper > Hy3DExportMesh

ComfyUI Node: Hy3DExportMesh

Class Name

Hy3DExportMesh

Category
Hunyuan3DWrapper
Author
kijai (Account age: 2948days)
Extension
ComfyUI-Hunyuan3DWrapper
Latest Updated
2026-07-29
Github Stars
1.03K

How to Install ComfyUI-Hunyuan3DWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI-Hunyuan3DWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Hunyuan3DWrapper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Hy3DExportMesh Description

Hy3DExportMesh node exports 3D mesh data to formats like glb, obj, ply, stl, 3mf, and dae.

Hy3DExportMesh:

The Hy3DExportMesh node is designed to facilitate the exportation of 3D mesh data into various file formats, making it an essential tool for AI artists working with 3D models. This node allows you to take a 3D mesh, typically in the form of a trimesh, and export it to a desired file format such as glb, obj, ply, stl, 3mf, or dae. By providing a straightforward interface for exporting meshes, it simplifies the process of saving and sharing 3D creations. The node is particularly beneficial for those who need to integrate 3D models into different applications or workflows, as it supports multiple widely-used file formats. Additionally, the node offers flexibility in naming and saving the exported files, ensuring that your 3D assets are organized and easily accessible.

Hy3DExportMesh Input Parameters:

trimesh

The trimesh parameter is the core input for this node, representing the 3D mesh data that you wish to export. This parameter is crucial as it contains the geometric and structural information of the 3D model. The trimesh is typically generated or processed by other nodes in the workflow and serves as the basis for the export operation.

filename_prefix

The filename_prefix parameter allows you to specify a prefix for the exported file's name. This helps in organizing and identifying files, especially when exporting multiple meshes. The default value is "3D/Hy3D", but you can customize it to suit your project needs. This prefix is combined with a counter to ensure unique filenames.

file_format

The file_format parameter determines the format in which the 3D mesh will be exported. You can choose from several options: glb, obj, ply, stl, 3mf, or dae. Each format has its own advantages and is suitable for different applications, so selecting the appropriate format is important based on your intended use of the exported mesh.

save_file

The save_file parameter is a boolean option that dictates whether the exported file should be saved permanently. By default, this is set to True, meaning the file will be saved to the specified location. If set to False, the file will be temporarily saved, which can be useful for testing or when you do not need to retain the file long-term.

Hy3DExportMesh Output Parameters:

glb_path

The glb_path output parameter provides the relative path to the exported file. This path is essential for locating the exported mesh within your file system or project directory. It allows you to easily access and utilize the exported file in subsequent processes or applications.

Hy3DExportMesh Usage Tips:

  • Ensure that the trimesh input is correctly generated and contains the desired 3D model data before exporting, as this will directly affect the quality and accuracy of the exported file.
  • Choose the file_format based on the requirements of your target application or platform. For instance, glb is often preferred for web applications due to its compact size and efficient loading.
  • Use a descriptive filename_prefix to keep your exported files organized, especially when working on large projects with multiple assets.

Hy3DExportMesh Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error may occur if the specified directory for saving the file does not exist or cannot be accessed.
  • Solution: Ensure that the output directory exists and that you have the necessary permissions to write files to it. You may need to create the directory manually if it does not exist.

InvalidFileFormatError

  • Explanation: This error can happen if an unsupported file format is specified in the file_format parameter.
  • Solution: Double-check the file_format parameter to ensure it is set to one of the supported formats: glb, obj, ply, stl, 3mf, or dae.

ExportFailureError

  • Explanation: This error might occur if there is an issue with the trimesh data, such as missing or corrupted information.
  • Solution: Verify that the trimesh input is valid and correctly structured. You may need to regenerate or repair the mesh data before attempting to export again.

Hy3DExportMesh Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Hunyuan3DWrapper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Hy3DExportMesh