feat: improve plugin overlay workflow
This commit is contained in:
@@ -394,7 +394,7 @@ def main() -> int:
|
||||
overlay3d: dict = {"kind": "none"}
|
||||
for ply_key in ("contourPly", "curvaturePly"):
|
||||
if ply_key in extra:
|
||||
overlay3d = {"kind": "vertexColors", "url": extra[ply_key]}
|
||||
overlay3d = {"kind": "ply", "file": extra[ply_key]}
|
||||
break
|
||||
|
||||
if skipped:
|
||||
|
||||
@@ -141,6 +141,8 @@ export type PluginOverlay3D =
|
||||
/** 着色 PLY 叠加文件(同样相对 outDir) */
|
||||
kind: 'ply';
|
||||
file: string;
|
||||
/** 批量结果可包含多个 PLY 叠加文件 */
|
||||
files?: string[];
|
||||
};
|
||||
|
||||
/** 算法写出的 result.json(与 INTEGRATION.md 描述对齐) */
|
||||
@@ -177,4 +179,8 @@ export interface PluginResultData extends Partial<PluginResult> {
|
||||
error?: string;
|
||||
/** 子进程已结束时的退出码 */
|
||||
exitCode?: number | null;
|
||||
/** 本次算法运行实际使用的任务点云文件 ID,用于前端叠加层匹配校验 */
|
||||
inputPointCloudFileIds?: number[];
|
||||
/** 本次算法运行前端选择的任务 CAD 文件 ID,用于后续匹配/追溯 */
|
||||
inputCadFileIds?: number[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user