Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌀 ComfyUI Wrapper for https://github.com/MeshInspector/MeshLib (Still in Development - Not fully tested)

⚙️ Nodes


1. IO Nodes

{0ACE9ED0-67E9-4490-99BE-B05251B2BC8C}
Node Description
Meshlib - Load Mesh Load mesh from file (STL, OBJ, PLY, CTM, GLB, OFF)
Meshlib - Save Mesh Save mesh to file
Meshlib - Load Points Load point cloud from file
Meshlib - Save Points Save point cloud to file
Meshlib - From Trimesh Convert Trimesh object to MeshLib Mesh
Meshlib - To Trimesh Convert MeshLib Mesh to Trimesh object
Meshlib - Copy Mesh Create a deep copy of a mesh

2. Primitive Nodes

{3321009F-CFFB-4D0C-9A59-20CFF5EA93D3}
Node Description
Meshlib - Make Sphere Create a UV sphere with configurable radius and resolution
Meshlib - Make Cube Create a box with configurable dimensions
Meshlib - Make Torus Create a torus with primary/secondary radius
Meshlib - Make Cylinder Create a cylinder with configurable radius and length

3. Boolean Operations

image
Node Description
Meshlib - Boolean Perform Union, Intersection, or Difference operations on two meshes

4. Modification Nodes

{A47D6A16-6C9B-4BD1-9904-D38B13A07BA1}
Node Description
Meshlib - Decimate Reduce triangle count while preserving shape
Meshlib - Subdivide Increase mesh resolution by splitting edges
Meshlib - Offset Create offset surface (shell) - positive expands, negative shrinks
Meshlib - Relax Smooth mesh by relaxing vertex positions
Meshlib - Transform Apply translation, rotation, and uniform scaling

5. Repair Nodes

image
Node Description
Meshlib - Fill Holes Automatically fill all holes in a mesh
Meshlib - Stitch Holes Connect two holes with a tunnel
Meshlib - Fix Degeneracies Fix degenerate triangles, tiny edges, duplicate vertices
Meshlib - Find Self Intersections Detect self-intersecting triangles

6. Deformation Nodes

{85E60C0A-53D1-459A-8B8C-70731E82AF72}
Node Description
Meshlib - Free Form Deform Apply free-form deformation using a control grid
Meshlib - Laplacian Deform Smooth deformation preserving local shape details

7. Analysis Nodes

{A740476E-4ED0-4477-BC7C-8ECBAD648D63}
Node Description
Meshlib - Signed Distance Calculate minimum signed distance between two meshes
Meshlib - Collision Detection Detect if two meshes collide and count colliding faces
Meshlib - Get Mesh Info Get vertex/face counts, surface area, volume, bounding box

8. Alignment Nodes

{C885AD16-31E9-4009-AC3A-7A4D617D8C27}
Node Description
Meshlib - ICP Alignment Align meshes using Iterative Closest Point algorithm

9. Point Cloud Nodes

{08CE858E-8F46-4F2E-8C67-235571BF632D}
Node Description
Meshlib - Triangulate Point Cloud Convert point cloud to mesh surface
Meshlib - Point Sampling Sample points uniformly from mesh surface
Meshlib - Point Cloud From Mesh Convert mesh vertices to point cloud

10. Noise Nodes

{B6B18D4D-CABA-492E-BE87-00EDA0F8504B}
Node Description
Meshlib - Add Noise Add Gaussian noise to vertex positions
Meshlib - Denoise Remove noise using Mumford-Shah framework (preserves sharp edges)

⚙️ Installation

For a standard python environment:

python -m pip install -r ComfyUI/custom_nodes/ComfyUI-Meshlib/requirements.txt

For ComfyUI Portable:

python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-Meshlilb\requirements.txt

About

ComfyUI Wrapper for Meshlib - Mesh processing library

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages