ComfyUI Node
Decimate Mesh
A ComfyUI node in geompack/decimation with 12 inputs and 2 outputs.
Decimate Mesh
- trimesh
- decimated_mesh
- info
◄backend▾►
◄backend.target_face_count5000►
◄backend.quality_threshold0.30►
◄backend.preserve_boundarytrue►
◄backend.preserve_normaltrue►
◄backend.preserve_topologytrue►
◄backend.planar_quadricfalse►
◄backend.target_reduction0.50►
◄backend.aggressiveness7►
◄backend.cluster_threshold1.0►
◄backend.feature_angle15►
Categorygeompack/decimation
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| trimesh | TRIMESH | — | |
| backend | COMBO | Decimation algorithm. quadric_edge_collapse=best quality, fast_simplification=fastest, vertex_clustering=aggressive, decimate_pro=topology-preserving | |
| backend.target_face_countopt | INT | 50004–10000000 | Target number of output faces. |
| backend.quality_thresholdopt | FLOAT | 0.300–1 | Quality threshold for edge collapse. Higher = more conservative, better triangle quality. |
| backend.preserve_boundaryopt | COMBO | true | Preserve mesh boundary edges during decimation. |
| backend.preserve_normalopt | COMBO | true | Prevent face normal flips during decimation. |
| backend.preserve_topologyopt | COMBO | true | Preserve mesh topology (genus) during decimation. |
| backend.planar_quadricopt | COMBO | false | Add penalty for non-planar faces. Helps preserve flat regions. |
| backend.target_reductionopt | FLOAT | 0.500.01–0.99 | Fraction of faces to REMOVE. 0.5 = reduce to ~50%% of original faces, 0.9 = reduce to ~10%% of original. |
| backend.aggressivenessopt | INT | 71–15 | How aggressively to simplify. Higher = faster but lower quality. Default 7. |
| backend.cluster_thresholdopt | FLOAT | 1.00.1–10 | Clustering cell size as percentage of bounding box diagonal. Larger = more aggressive reduction. |
| backend.feature_angleopt | FLOAT | 150–180 | Feature angle threshold (degrees). Edges with dihedral angle above this are preserved. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| decimated_mesh | TRIMESH | — |
| info | STRING | — |