feat: support PLY meshes in vehicle registration

This commit is contained in:
2026-07-24 15:38:10 +08:00
parent 33c5fb9b9c
commit 9262390037
2 changed files with 29 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ def main() -> int:
pc_path = first_pointcloud(payload)
cad_path = inputs.get("cadPath")
if not cad_path:
raise RuntimeError("整车配准需要 STEP CAD 文件,请在任务下上传并选中 CAD。")
raise RuntimeError("整车配准需要 CAD 文件(STEP 或 PLY mesh),请在任务下上传并选中 CAD。")
axis = str(config.get("axis") or "x")
crop_ratio = float(config.get("cropRatio") or 0.01)