ComfyUI > Nodes > ComfyUI libigl > Mesh Quality

ComfyUI Node: Mesh Quality

Class Name

GeomPackMeshQuality

Category
geompack/analysis
Author
PozzettiAndrea (Account age: 2240days)
Extension
ComfyUI libigl
Latest Updated
2025-12-22
Github Stars
0.06K

How to Install ComfyUI libigl

Install this extension via the ComfyUI Manager by searching for ComfyUI libigl
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI libigl 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

Mesh Quality Description

Evaluates 3D mesh quality, identifying issues in geometry for improved rendering and simulation.

Mesh Quality:

The GeomPackMeshQuality node is designed to evaluate and analyze the quality of 3D meshes, providing essential insights into their geometric properties. This node is particularly useful for identifying potential issues in mesh structures before further processing or rendering. It assesses various quality metrics such as triangle quality, edge length statistics, face area distribution, and detects degeneracies and manifold status. By doing so, it helps ensure that the mesh is suitable for high-quality rendering or simulation tasks. The node's analysis can highlight problematic areas in the mesh, such as poor aspect ratios or inconsistent face windings, and offers recommendations for improvement. This makes it an invaluable tool for AI artists and designers who need to ensure the integrity and quality of their 3D models.

Mesh Quality Input Parameters:

trimesh

The trimesh parameter is the primary input for the node, representing the 3D mesh to be analyzed. It is a required parameter and must be provided in the form of a TRIMESH object. This parameter is crucial as it contains the geometric data that the node will evaluate to compute quality metrics.

include_face_quality

The include_face_quality parameter is an optional boolean that determines whether the node should analyze the quality of the mesh's faces. When set to True, the node will compute metrics such as aspect ratios and angles of the mesh's triangles, providing insights into the face quality. The default value is True, and it is recommended to keep this enabled to get a comprehensive analysis of the mesh's face quality.

include_edge_stats

The include_edge_stats parameter is another optional boolean that specifies whether the node should include edge length statistics in its analysis. When enabled, the node will calculate metrics such as minimum, maximum, mean, and median edge lengths, as well as the uniformity of edge lengths. This parameter is set to True by default, and enabling it can help identify issues related to edge length variations in the mesh.

Mesh Quality Output Parameters:

min_quality

The min_quality output represents the minimum quality metric computed for the mesh's faces. It provides a numerical value indicating the lowest quality aspect of the mesh, which can be useful for identifying the most problematic areas that may require attention or correction.

mean_quality

The mean_quality output provides the average quality metric of the mesh's faces. This value gives an overall indication of the mesh's quality, helping users understand the general state of the mesh and whether it meets the desired quality standards.

report

The report output is a comprehensive string that summarizes the results of the mesh quality analysis. It includes detailed information about face quality, edge statistics, face areas, and any detected issues such as degenerate faces or non-manifold edges. The report also offers recommendations for improving the mesh quality, making it a valuable resource for users looking to enhance their 3D models.

Mesh Quality Usage Tips:

  • Ensure that the trimesh input is correctly formatted and represents a valid 3D mesh to avoid errors during analysis.
  • Keep include_face_quality and include_edge_stats enabled to receive a thorough analysis of the mesh, which can help identify and rectify potential issues.
  • Review the report output carefully to understand the quality metrics and follow the recommendations provided to improve the mesh's integrity and performance.

Mesh Quality Common Errors and Solutions:

Invalid TRIMESH input

  • Explanation: This error occurs when the trimesh input is not a valid TRIMESH object or is improperly formatted.
  • Solution: Ensure that the input mesh is correctly structured and compatible with the node's requirements. Verify that the mesh data is complete and correctly formatted.

Analysis failed due to missing data

  • Explanation: This error may arise if the mesh lacks necessary data for analysis, such as missing faces or edges.
  • Solution: Check the mesh for completeness and ensure that all required geometric data is present. Repair or reconstruct the mesh if necessary to include all essential components.

Mesh Quality Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI libigl
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.