upadte: clean code + add next cloud

This commit is contained in:
Tom Boullay
2026-04-14 16:21:37 +02:00
parent 3adcf9d30e
commit 3a7a5e2eea
20 changed files with 663 additions and 131 deletions
+2 -2
View File
@@ -174,7 +174,7 @@ def process_file(input_path, output_path=None, draco_level=7,
if not quiet:
print("Importing mesh...")
import_output = import_mesh(input_path)
import_mesh(input_path)
if len(bpy.data.objects) == 0:
raise RuntimeError(f"No objects imported from {input_path}")
@@ -198,7 +198,7 @@ def process_file(input_path, output_path=None, draco_level=7,
if not quiet:
print(f"Exporting with Draco compression (level={draco_level})...")
export_output = export_mesh(output_path, draco_level, format_type)
export_mesh(output_path, draco_level, format_type)
if not os.path.exists(output_path):
raise RuntimeError(f"Export failed: {output_path} not created")