Files
massive-cloud/server/plugins/manifests/flatness-suite.json

48 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "flatness-suite",
"name": "平整度 / 平面度 / 轮廓测量",
"shortName": "flatness-suite",
"description": "平整度 / 平面度 / 轮廓 / 曲率 套件(直接调用 alg/平整度、平面度、轮廓测量/ 下的脚本:Plane_Estimation / Contour_Flatness / Curvature_Estimation)。运行需要 numpy + open3d;contour 子模块还需要 torch + trimesh + STL CAD。任意子模块缺依赖时自动跳过并在 message 里说明。",
"version": "1.0.0",
"schemaVersion": 1,
"category": "几何测量",
"requiresPointCloud": true,
"requiresCad": false,
"inputs": [
{
"name": "module",
"label": "测量模块",
"type": "select",
"default": "all",
"options": [
{ "value": "all", "label": "全部 (plane + contour + curvature)" },
{ "value": "plane", "label": "平面拟合 (plane)" },
{ "value": "contour", "label": "轮廓-平整度 (contour,需 STL)" },
{ "value": "curvature", "label": "曲率估计 (curvature)" }
]
},
{
"name": "voxelSizeMm",
"label": "采样 / RANSAC 阈值 (mm)",
"type": "number",
"default": 1.0,
"min": 0.1,
"max": 10.0,
"step": 0.1,
"description": "平面拟合的距离阈值(同时也作为曲率搜索半径的基准 ×2)。"
}
],
"runtime": {
"kind": "process",
"cmd": [
"{pythonBin}",
"{adapterDir}/flatness_suite_run.py",
"{inputJson}"
],
"envExtra": {
"ALG_ROOT": "{algRoot}"
},
"timeoutMs": 1200000
}
}