Skip to content

Commit

Permalink
add pymcubes to full dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawkey committed Mar 22, 2024
1 parent f204ae7 commit d5fc56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kiui/mesh_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from importlib.metadata import version

PML_VER = version('pymeshlab')
# NOTE: assume the latest 2023.12 version

# the code assumes the latest 2023.12 version, but we can patch older versions
if PML_VER.startswith('0.2'):
# monkey patch for 0.2 (only the used functions in this file!)
pml.MeshSet.meshing_decimation_quadric_edge_collapse = pml.MeshSet.simplification_quadric_edge_collapse_decimation
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'viser',
'pymeshlab',
'huggingface_hub',
'PyMCubes',
],
},
)

0 comments on commit d5fc56f

Please sign in to comment.