Files
massive-cloud/server/plugins/manifests/train-measurement.json

46 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": "train-measurement",
"name": "列车点云测距",
"shortName": "train-measurement",
"description": "基于配置 YAML 驱动的列车点云批量测距套件(v1.1)。支持「平面到平面 / 点到平面 / 点到点」三类任务,可在 3D 视图中拖拽 ROI 包围盒可视化配置。",
"version": "1.1.0",
"schemaVersion": 1,
"category": "尺寸测量",
"requiresPointCloud": true,
"requiresCad": false,
"uiPanel": "train-measurement",
"inputs": [
{
"name": "configPreset",
"label": "测量配置预设",
"type": "select",
"default": "builtin",
"options": [
{ "value": "builtin", "label": "内置默认 (config/measurements.yaml)" },
{ "value": "custom", "label": "自定义 YAML" }
],
"description": "选「自定义 YAML」后可在下方编辑器中修改测量任务,或在 3D 视图中拖拽 ROI 包围盒自动生成。"
},
{
"name": "customYaml",
"label": "自定义 YAML 配置",
"type": "string",
"default": "",
"description": "仅当上方选「自定义 YAML」时生效。为空时回落到内置默认 measurements.yaml。"
}
],
"runtime": {
"kind": "process",
"cmd": [
"{pythonBin}",
"{adapterDir}/train_measurement_run.py",
"{inputJson}"
],
"envExtra": {
"PYTHONPATH": "{algRoot}/点云测距v1.1/train_measurement_system/src",
"TRAIN_MEAS_ROOT": "{algRoot}/点云测距v1.1/train_measurement_system"
},
"timeoutMs": 1200000
}
}