๐ท Analyze Mesh (RDAWG)
The mesh report card โ counts, volume, and whether it's watertight
- mesh
- basic_info
- geometry_metrics
- quality_metrics
Before you spend a workflow processing a mesh, it pays to know what you're working with. RDAWG3DAnalyzeMesh is the pack's diagnostic node: it dumps a structured report about a mesh's size, topology, and quality into three string outputs you can read, log, or feed into a text node. It's the "am I about to waste ten minutes on garbage?" check.
Think of it as the mesh equivalent of checking an image's resolution and bit depth before you upscale it. A mesh that isn't watertight won't give you a valid volume, a mesh full of bad triangles will smooth and render badly, and knowing the vertex/face count tells you whether the next node is going to crawl.
How it works
The node reads straight off the Open3D mesh and produces three separate STRING reports:
- basic_info - always computed. Vertex count, triangle count, whether it has vertex/triangle normals, vertex colors, and UVs, plus its bounding-box extent and center.
- geometry_metrics - surface area (if enabled), volume (only if the mesh is watertight - otherwise it says so), unique edge count, and edge-length min/max/mean/std.
- quality_metrics - triangle areas, aspect ratios (skinniness), a good/ok/bad triangle breakdown, and, when topology is enabled, watertight/manifold checks plus Euler characteristic and an estimated genus (number of holes) for closed meshes.
The four booleans (compute_volume, compute_surface_area, compute_quality_metrics, compute_topology) let you skip the expensive parts and grab just what you need.
The inputs that matter
- mesh - the MESH to inspect.
- compute_volume / compute_surface_area / compute_quality_metrics / compute_topology - all on by default. Turn off the ones you don't need if the mesh is huge; topology and quality metrics loop over every triangle.
Outputs: basic_info, geometry_metrics, quality_metrics - all STRING, all human-readable blocks of text.
Install
Part of the RDAWG 3D Pack. ComfyUI Manager (search "RDAWG 3D Pack (CUDA 12.8 + PyTorch 2.9.0)") or:
cd ComfyUI/custom_nodes
git clone https://github.com/rdawgemfl/rdawg_3D_pack
cd rdawg_3D_pack
python install.py
Open3D 0.19.0+ is a hard requirement (pip install open3d>=0.19.0, or python download_open3d.py for a Windows wheel). Python 3.11 recommended. Be careful with the installer's torch 2.9.0+cu128 pin if your ComfyUI already works.
Where people get burned
- Volume reports "not watertight" - that's diagnostic gold, not a bug. A scan or reconstruction with open edges can't have a meaningful volume; go close it or use it knowing it's open.
- Treating raw numbers as truth - the stats are only as good as the mesh's scale. If the loader didn't normalize, "surface area" can be nonsense in your units.
- Slow on huge meshes - quality and topology metrics are per-triangle loops. Run basic_info alone on a million-triangle model unless you need the full report.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| mesh | MESH | โ | |
| compute_volume | BOOLEAN | true | โ |
| compute_surface_area | BOOLEAN | true | โ |
| compute_quality_metrics | BOOLEAN | true | โ |
| compute_topology | BOOLEAN | true | โ |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| basic_info | STRING | โ |
| geometry_metrics | STRING | โ |
| quality_metrics | STRING | โ |