ComfyUI Node
Hunyuan 3D 2.1 Meshlib Decimation
Decimate the mesh using meshlib: https://meshlib.io/
Hunyuan 3D 2.1 Meshlib Decimation
- trimesh
- trimesh
◄subdivideParts16►
◄target_face_num—►
◄target_face_ratio—►
◄strategyNone►
◄maxError—►
◄maxEdgeLen—►
◄maxBdShift—►
◄maxTriangleAspectRatio—►
◄criticalTriAspectRatio—►
◄tinyEdgeLength—►
◄stabilizer—►
◄angleWeightedDistToPlane—►
◄optimizeVertexPos—►
◄collapseNearNotFlippable—►
◄touchNearBdEdges—►
◄maxAngleChange—►
◄decimateBetweenParts—►
◄minFacesInPart—►
CategoryHunyuan3D21Wrapper
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| trimesh | TRIMESH | — | |
| subdivideParts | INT | 161–64 | Should be the number of CPU/Core |
| target_face_numopt | INT | 0–10000000 | — |
| target_face_ratioopt | FLOAT | 0–0.999 | — |
| strategyopt | COMBO | None | 3 options: None, MinimizeError, ShortestEdgeFirst |
| maxErroropt | FLOAT | 0–1 | — |
| maxEdgeLenopt | FLOAT | — | |
| maxBdShiftopt | FLOAT | — | |
| maxTriangleAspectRatioopt | FLOAT | — | |
| criticalTriAspectRatioopt | FLOAT | — | |
| tinyEdgeLengthopt | FLOAT | — | |
| stabilizeropt | FLOAT | — | |
| angleWeightedDistToPlaneopt | BOOLEAN | — | |
| optimizeVertexPosopt | BOOLEAN | — | |
| collapseNearNotFlippableopt | BOOLEAN | — | |
| touchNearBdEdgesopt | BOOLEAN | — | |
| maxAngleChangeopt | FLOAT | — | |
| decimateBetweenPartsopt | BOOLEAN | — | |
| minFacesInPartopt | INT | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| trimesh | TRIMESH | — |