mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2025-12-14 15:24:29 +08:00
return relative glb path
This commit is contained in:
parent
f1150a7ac3
commit
af09b1c3a4
4
nodes.py
4
nodes.py
@ -426,7 +426,9 @@ class Hy3DExportMesh:
|
|||||||
output_glb_path.parent.mkdir(exist_ok=True)
|
output_glb_path.parent.mkdir(exist_ok=True)
|
||||||
mesh.export(output_glb_path)
|
mesh.export(output_glb_path)
|
||||||
|
|
||||||
return (str(output_glb_path), )
|
relative_path = Path(subfolder) / f'{filename}_{counter:05}_.glb'
|
||||||
|
|
||||||
|
return (str(relative_path), )
|
||||||
|
|
||||||
NODE_CLASS_MAPPINGS = {
|
NODE_CLASS_MAPPINGS = {
|
||||||
"Hy3DModelLoader": Hy3DModelLoader,
|
"Hy3DModelLoader": Hy3DModelLoader,
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
trimesh
|
trimesh
|
||||||
diffusers
|
diffusers>=0.31.0
|
||||||
accelerate
|
accelerate
|
||||||
huggingface_hub
|
huggingface_hub
|
||||||
einops
|
einops
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user