Ë
    :vžjÀ  ã                   ó   — d dl Zdee   fd„Zy)é    NÚreturnc                 óx  — ddl m} t        j                  t        j                  t        | j                  «      t        j                  ¬«      dz  | j                  f«      j                  «       j                  t        j                  «      } || j                  |fi |¤ŽD ��cg c]
  \  }}||dœ‘Œ c}}S c c}}w )a™  
    Compute an approximate convex decomposition of a mesh.

    VHACD Parameters which can be passed as kwargs:

    Name                              Default
    -----------------------------------------
    maxConvexHulls                    64
    resolution                        400000
    minimumVolumePercentErrorAllowed  1.0
    maxRecursionDepth                 10
    shrinkWrap                        True
    fillMode                          "flood"
    maxNumVerticesPerCH               64
    asyncACD                          True
    minEdgeLength                     2
    findBestPlane                     False

    Parameters
    ----------
    mesh : trimesh.Trimesh
      Mesh to be decomposed into convex parts
    **kwargs : VHACD keyword arguments

    Returns
    -------
    mesh_args : list
      List of **kwargs for Trimeshes that are nearly
      convex and approximate the original.
    r   )Úcompute_vhacd)Údtypeé   )ÚverticesÚfaces)Úvhacdxr   ÚnpÚcolumn_stackÚonesÚlenr	   Úint64ÚravelÚastypeÚuint32r   )ÚmeshÚkwargsr   r	   ÚvÚfs         úf/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/trimesh/decomposition.pyÚconvex_decompositionr      s”   € õ> %ô 	�‰œŸ™¤ T§Z¡Z£¼¿¹ÔAÀAÑEÀtÇzÁzÐRÓSß	‰‹ß	‰”—	‘	Ó	ð 
ñ " $§-¡-°ÑA¸&ÒAôáA‰DˆAˆqð  Ó#ØAòð ùó s   Â#B6)Únumpyr   ÚlistÚdictr   © ó    r   Ú<module>r      s   ðÛ ð-¨D°©Jô -r   