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

@ -425,8 +425,10 @@ class Hy3DExportMesh:
output_glb_path = Path(full_output_folder, f'{filename}_{counter:05}_.glb')
output_glb_path.parent.mkdir(exist_ok=True)
mesh.export(output_glb_path)
relative_path = Path(subfolder) / f'{filename}_{counter:05}_.glb'
return (str(output_glb_path), )
return (str(relative_path), )
NODE_CLASS_MAPPINGS = {
"Hy3DModelLoader": Hy3DModelLoader,

View File

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