From 78b48ee50c0ddfbb0b02fd605ee9daebc3ed241f Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:42:24 +0800 Subject: [PATCH] Update app.py --- PartPacker/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PartPacker/app.py b/PartPacker/app.py index 3fa484d..a05c18d 100644 --- a/PartPacker/app.py +++ b/PartPacker/app.py @@ -100,7 +100,8 @@ def process_3d(model,bg_remover,input_image,TRIMESH_GLB_EXPORT,mask,output_dir, mesh = trimesh.Scene(parts) # export the whole mesh mesh.export(output_glb_path) + new_mesh=mesh.to_mesh() #"trimesh.Trimesh" - return output_glb_path + return new_mesh,output_glb_path