ComfyUI > Nodes > ComfyUI libigl > Extract Skeleton

ComfyUI Node: Extract Skeleton

Class Name

GeomPackExtractSkeleton

Category
geompack/skeleton
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

Extract Skeleton Description

GeomPackExtractSkeleton node extracts simplified skeletons from 3D meshes for animation and analysis.

Extract Skeleton:

The GeomPackExtractSkeleton node is designed to extract a skeleton from a given 3D mesh, providing a simplified representation of the mesh's structure. This node is particularly useful for applications in animation, simulation, and analysis, where understanding the underlying framework of a 3D model is crucial. By utilizing various algorithms, such as wavefront, vertex clusters, edge collapse, and teasar, the node offers flexibility in how the skeleton is derived, allowing you to choose the method that best suits your needs. The node also includes options to fix mesh issues before skeletonization and to normalize the skeleton, ensuring that the output is both accurate and adaptable to different scales. Overall, the GeomPackExtractSkeleton node is a powerful tool for artists and developers looking to streamline their workflow by automating the process of skeleton extraction from complex 3D models.

Extract Skeleton Input Parameters:

trimesh

The trimesh parameter is the input 3D mesh from which the skeleton will be extracted. It serves as the foundational data for the node's operations, and its quality can significantly impact the accuracy and effectiveness of the skeletonization process. There are no specific minimum or maximum values for this parameter, as it is a mesh object, but ensuring that the mesh is well-formed and free of errors will yield better results.

algorithm

The algorithm parameter allows you to select the method used for skeleton extraction. Options include "wavefront," "vertex_clusters," "edge_collapse," and "teasar," with "wavefront" being the default. Each algorithm has its strengths and is suited for different types of meshes and desired outcomes. For instance, "wavefront" is often used for its balance between speed and accuracy, while "teasar" might be preferred for more detailed skeletons. Understanding the characteristics of each algorithm can help you choose the most appropriate one for your specific task.

fix_mesh

The fix_mesh parameter is a boolean option that, when set to true, attempts to correct any issues in the mesh before proceeding with skeletonization. This can include fixing holes, non-manifold edges, or other common mesh problems. The default value is true, and enabling this option can improve the quality of the extracted skeleton by ensuring that the input mesh is in optimal condition.

normalize

The normalize parameter is a boolean option that determines whether the extracted skeleton should be normalized to a [-1, 1] range. The default value is false, which preserves the original scale of the mesh. Normalization can be useful if you need the skeleton to fit within a specific size range or if you are working with multiple meshes that need to be compared or combined. However, preserving the original scale might be preferable if the relative size of the skeleton is important for your application.

Extract Skeleton Output Parameters:

skeleton

The skeleton output parameter represents the extracted skeleton from the input mesh. It consists of vertices and edges that define the simplified structure of the original 3D model. This output is crucial for applications that require a basic framework of the model, such as rigging for animation or structural analysis. The skeleton provides a clear and concise representation of the mesh's form, making it easier to manipulate and understand.

Extract Skeleton Usage Tips:

  • Choose the algorithm based on the complexity and requirements of your mesh. For quick results, "wavefront" is a good starting point, but for more detailed skeletons, consider "teasar."
  • Always enable fix_mesh if you suspect that your mesh might have issues, as this can prevent errors during skeleton extraction and improve the quality of the output.
  • Use the normalize option if you need the skeleton to fit within a specific size range, especially when working with multiple meshes that need to be standardized.

Extract Skeleton Common Errors and Solutions:

Mesh input is invalid

  • Explanation: This error occurs when the input mesh is not properly formatted or contains errors that prevent skeleton extraction.
  • Solution: Ensure that the mesh is well-formed and free of issues such as holes or non-manifold edges. Use the fix_mesh option to automatically correct common problems.

Algorithm selection is not recognized

  • Explanation: This error happens when an invalid algorithm name is provided.
  • Solution: Double-check the algorithm parameter to ensure it matches one of the available options: "wavefront," "vertex_clusters," "edge_collapse," or "teasar."

Skeleton extraction failed

  • Explanation: This error can occur if the mesh is too complex or if there are underlying issues that the node cannot resolve.
  • Solution: Simplify the mesh if possible, or try using a different algorithm. Additionally, ensure that fix_mesh is enabled to address any potential mesh issues.

Extract Skeleton 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.