return relative glb path

This commit is contained in:
kijai 2025-01-22 08:22:21 +02:00
parent f1150a7ac3
commit af09b1c3a4
2 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

@ -1,5 +1,5 @@
trimesh trimesh
diffusers diffusers>=0.31.0
accelerate accelerate
huggingface_hub huggingface_hub
einops einops