upadte: clean code + add next cloud
This commit is contained in:
+2
-2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user