This commit is contained in:
cjw
2026-02-17 00:12:36 +08:00
parent 44d431f4af
commit 64acdb0e8c
5 changed files with 770 additions and 738 deletions
+7
View File
@@ -405,6 +405,13 @@ async def process_file_core(
mesh_json=mesh_json,
quality="medium",
)
# 将简要网格摘要写入内存任务,便于前端展示汇总信息
tasks[task_id]["mesh_summary"] = {
"vertex_count": len(vertices),
"face_count": len(faces),
"point_count": pointcloud.get("count"),
"quality": "medium",
}
except Exception as mesh_err:
# 网格失败不影响整体流程,只记录日志
logger.warning(f"网格生成或保存失败,不影响主流程: {mesh_err}")