am-freescan/docs/scanner-component-audit-20261028.json

611 lines
18 KiB
JSON
Raw Normal View History

{
"date": "2026-10-28",
"passed": true,
"scope": {
"scannerWorkflowComponents": 37,
"rotaryBaseWorkflowComponents": 5,
"supplierHttpRoutes": 41
},
"fixes": [
"新增逐字段填写与上游引用,支持工程号、会话号、SDK UUID、编号数组;不再要求手工拼接整段JSON",
"普通节点输入引用使用当前循环已解析的实际输入,不被静态配置或同名全局参数覆盖;缺失引用不回退旧值",
"扫描参数逐项选择,重新编辑只修改亮度时不会自动添加点间距",
"补齐场景/状态/请求/旋转底座确认与单位的输出定义;旧节点补充缺失引用字段,保留名称、连线、输入与自定义输出",
"HTTP服务可用但扫描头未连接时允许连接、重连、诊断;采集与编辑继续严格检查真实设备状态",
"参数配置保存增加等待状态与重复提交保护"
],
"validation": {
"backend": {
"tests": 1217,
"failures": 0,
"errors": 0,
"skipped": 18,
"passed": 1199
},
"frontend": {
"passed": 135,
"failed": 0,
"typecheck": true,
"productionBuild": true
},
"python": {
"passed": 66,
"failed": 0
},
"supplierContractChecks": 102,
"frameworkUrlBoundaryChecks": 33,
"liveDocumentedRequestFieldChecks": [
{
"operation": "CONNECT",
"passed": true
},
{
"operation": "CREATE_PROJECT",
"passed": true
},
{
"operation": "DISCONNECT",
"passed": true
},
{
"operation": "RECONNECT",
"passed": true
},
{
"operation": "PREVIEW_START",
"passed": true
},
{
"operation": "PREVIEW_STOP",
"passed": true
},
{
"operation": "SCAN_START",
"passed": true
},
{
"operation": "SCAN_STOP",
"passed": true
},
{
"operation": "EXPORT",
"passed": true
},
{
"operation": "PARAMETERS",
"passed": true
},
{
"operation": "MESH",
"passed": true
},
{
"operation": "MESH_CONFIRM",
"passed": true
},
{
"operation": "MESH_UNDO",
"passed": true
},
{
"operation": "ALIGN",
"passed": true
},
{
"operation": "EDIT",
"passed": true
},
{
"operation": "CLIP_PLANE",
"passed": true
},
{
"operation": "SNAPSHOT",
"passed": true
},
{
"operation": "CALIBRATION_ENTER",
"passed": true
},
{
"operation": "CALIBRATION_MODE",
"passed": true
},
{
"operation": "CALIBRATION_START",
"passed": true
},
{
"operation": "CALIBRATION_TRAK",
"passed": true
},
{
"operation": "CALIBRATION_SYSTEM",
"passed": true
},
{
"operation": "CALIBRATION_FREE",
"passed": true
},
{
"operation": "CALIBRATION_CAPTURE",
"passed": true
},
{
"operation": "CALIBRATION_COMPUTE",
"passed": true
},
{
"operation": "CALIBRATION_ADVANCED",
"passed": true
},
{
"operation": "CALIBRATION_APPLY_LAST",
"passed": true
},
{
"operation": "SCAN_TYPE",
"passed": true
},
{
"operation": "FRAMEWORK_IMPORT",
"passed": true
},
{
"operation": "FRAMEWORK_OPTIMIZE",
"passed": true
}
],
"nativeWorkflowChecks": [
"真实P3内容已加载到独立本机模拟服务,控制不会请求真实设备",
"缺少确认会在执行前提前阻止",
"完整原生试运行:上游导出结果→新工程→URL自动登记→导入任务成功→资源释放",
"实际登记字节与真实P3的SHA256完全相同",
"混合成果中的大型STL在下载前被筛除",
"第二次连续执行复用登记,仅再次导入,未重复登记文件",
"旧导出节点的result.files引用可执行",
"仅URL数组引用能从下载响应读取真实文件名并执行",
"实际循环两轮分别导入本轮导出的文件,未复用上一轮变量",
"外部URL拒绝且失败后释放设备",
"失效URL保留明确错误并释放设备,未提交错误导入",
"场景UUID、原始大整数编号、扫描参数与断开/重连会话字段可直接引用,无需脚本拼JSON",
"引用普通上游节点的输入时使用已合并的实际请求,不回退静态brightness=8",
"扫描头断开后仍能读取状态并执行重连,采集状态没有被伪造",
"从扫描头未连接状态启动原生试运行,可先诊断再连接设备,无前置在线死锁"
],
"nativeTrialCount": 10,
"uiChecks": [
"删除数据组件可推荐引用上游SDK工程/点云UUID",
"断开设备组件可推荐引用上游工程/会话",
"亮度8改12后切换JSON仍只有brightness字段"
],
"physicalControlRequests": 0
},
"limitations": [
"真实扫描头离线,本轮未声称已完成实体采集、框架导入或机械运动测试",
"拼接需要两个已加载SDK工程及真实UUID;当前厂商接口未提供从磁盘加载第二工程的能力",
"点编辑需要SDK原始点号;最近场景摘要不提供完整编号列表,不能用PLY行号代替",
"标定依赖真实设备、姿态和历史结果;SDK场景快照scene_data_unavailable仍需厂商场景数据支持"
],
"cleanup": {
"prefix": "E2E-URL-OFF-1028003738-d42b",
"cleared": true,
"finalStateCounts": {
"activeNative": 0,
"activeExecutions": 0,
"resourceOccupations": 0,
"pendingScannerCommands": 0
},
"normalDevRestored": true,
"privateConfigurationUnchanged": true,
"realSourceUnchanged": true,
"realControlJournalUnchanged": true
},
"runtime": {
"backendPort": 48090,
"frontendPort": 5180
},
"components": [
{
"operation": "CONNECT",
"title": "连接设备",
"action": "SCANNER_INITIALIZE",
"method": "POST",
"referenceableFields": [
"deviceType"
],
"note": ""
},
{
"operation": "CREATE_PROJECT",
"title": "创建扫描工程",
"action": "SCANNER_CREATE_PROJECT",
"method": "POST",
"referenceableFields": [
"name",
"mode"
],
"note": ""
},
{
"operation": "DISCONNECT",
"title": "断开设备会话",
"action": "SCANNER_DISCONNECT",
"method": "POST",
"referenceableFields": [
"confirm",
"discardProject",
"expectedProjectId",
"expectedSessionId"
],
"note": "已有工程时需核对工程和会话编号;可以逐字段引用上游“读取设备和工程状态”。是否舍弃未导出数据仍须明确配置。"
},
{
"operation": "RECONNECT",
"title": "结束旧会话并重新连接",
"action": "SCANNER_RECONNECT",
"method": "POST",
"referenceableFields": [
"confirm",
"discardProject",
"expectedProjectId",
"expectedSessionId",
"deviceType"
],
"note": "已有工程时需核对工程和会话编号;重连不会自动恢复内存工程,可逐字段引用上游状态。"
},
{
"operation": "PREVIEW_START",
"title": "开启渲染预览",
"action": "SCANNER_PREVIEW_START",
"method": "POST",
"referenceableFields": [],
"note": ""
},
{
"operation": "PREVIEW_STOP",
"title": "关闭渲染预览",
"action": "SCANNER_PREVIEW_STOP",
"method": "POST",
"referenceableFields": [],
"note": ""
},
{
"operation": "SCAN_START",
"title": "开始或继续采集",
"action": "SCANNER_START",
"method": "POST",
"referenceableFields": [],
"note": ""
},
{
"operation": "SCAN_STOP",
"title": "暂停采集并保留工程",
"action": "SCANNER_STOP",
"method": "POST",
"referenceableFields": [],
"note": ""
},
{
"operation": "SCAN_TYPE",
"title": "选择采集类型或采集设备",
"action": "SCANNER_SCAN_TYPE",
"method": "POST",
"referenceableFields": [
"scanType",
"device",
"confirm"
],
"note": "在创建工程后、开始采集前设置。摄影测量使用Trak和跟踪仪,标志点采集使用Laser和扫描头;切换设备须明确确认。工程已采集或导入框架后不可切换设备,应先保存数据并新建工程。"
},
{
"operation": "FRAMEWORK_IMPORT",
"title": "导入已上传的标志点框架",
"action": "SCANNER_FRAMEWORK_IMPORT",
"method": "POST",
"referenceableFields": [
"fileIds",
"confirm"
],
"note": "引用上游P3/TXT/ASC下载结果,运行时自动读取、登记及导入,无需手动上传。要求Trak模式、表面采集、扫描头、已暂停且未生成网格。厂家服务重启后旧URL可能失效,需重新导出。"
},
{
"operation": "FRAMEWORK_OPTIMIZE",
"title": "优化已采集的摄影测量框架",
"action": "SCANNER_FRAMEWORK_OPTIMIZE",
"method": "POST",
"referenceableFields": [],
"note": "暂停摄影测量采集后优化框架,要求Trak和跟踪仪,且当前工程已进行摄影测量采集。优化完成后使用“导出文件”仅选择P3;再次采集会使框架需要重新优化。"
},
{
"operation": "PARAMETERS",
"title": "修改扫描参数",
"action": "SCANNER_PARAMETERS",
"method": "POST",
"referenceableFields": [
"pointDistance",
"brightness",
"lightSourceMode",
"scanFrameRate",
"highSpeedMode",
"addMarkerMode",
"viewLock",
"localEnlargedView",
"qualityColor",
"strongLight",
"preScanMode",
"markerDiameters"
],
"note": ""
},
{
"operation": "MESH",
"title": "生成网格预览",
"action": "SCANNER_MESH",
"method": "POST",
"referenceableFields": [
"filterLevel",
"smoothLevel",
"removeSmallFloatingParts",
"cutMeshEdgeOptimization",
"cutMeshEdgeValue",
"holeOptimization",
"boundaryOptimization",
"maxTriangles",
"fillSmallHole",
"removeSpikes",
"fillMarkerHoles",
"rememberChoice"
],
"note": ""
},
{
"operation": "MESH_CONFIRM",
"title": "确认网格",
"action": "SCANNER_MESH_CONFIRM",
"method": "POST",
"referenceableFields": [],
"note": ""
},
{
"operation": "MESH_UNDO",
"title": "撤销网格",
"action": "SCANNER_MESH_UNDO",
"method": "POST",
"referenceableFields": [],
"note": ""
},
{
"operation": "ALIGN",
"title": "工程拼接",
"action": "SCANNER_ALIGN",
"method": "POST",
"referenceableFields": [
"action",
"mode",
"fixedProjectUuid",
"movingProjectUuid",
"confirm",
"fixedPoints",
"movingPoints",
"fixedMarkerPoints",
"movingMarkerPoints",
"fixedMarkerIds",
"movingMarkerIds"
],
"note": "固定与移动工程须已经存在于当前SDK会话,使用场景UUID,不能使用工程目录编号;厂家暂无加载第二份磁盘工程接口。配对坐标和标志点编号可逐字段引用上游。"
},
{
"operation": "EDIT",
"title": "删除点或标志点",
"action": "SCANNER_EDIT",
"method": "POST",
"referenceableFields": [
"projectUuid",
"cloudUuid",
"pointIds",
"markerIds",
"points",
"normals",
"confirm"
],
"note": "可引用上游场景的工程/点云UUID和原始编号。点编辑需要SDK原始点号;场景摘要不包含编号列表,PLY行号不能代替。缺少原始数据时不能直接执行点编辑。"
},
{
"operation": "CLIP_PLANE",
"title": "平面裁剪",
"action": "SCANNER_CLIP_PLANE",
"method": "POST",
"referenceableFields": [
"center",
"normal",
"deleteBelowPoints",
"deleteBelowMarkers",
"confirm"
],
"note": ""
},
{
"operation": "EXPORT",
"title": "导出文件",
"action": "SCANNER_EXPORT",
"method": "POST",
"referenceableFields": [
"name",
"formats"
],
"note": "普通成果须暂停采集并确认网格。摄影测量框架须暂停且已优化,仅选择P3可直接保存,无需生成表面网格;混合格式仍要求已确认网格。"
},
{
"operation": "SNAPSHOT",
"title": "创建原始场景快照",
"action": "SCANNER_SNAPSHOT",
"method": "POST",
"referenceableFields": [
"maxPoints",
"include",
"pauseAcquisition"
],
"note": "原始场景快照依赖SDK实际场景数据。新文档示例支持pauseAcquisition布尔字段,参数表尚未列出;默认不发送此字段,需使用时在JSON中显式配置并核对设备支持。"
},
{
"operation": "SCENE",
"title": "读取最近场景摘要",
"action": "SCANNER_SCENE",
"method": "GET",
"referenceableFields": [],
"note": ""
},
{
"operation": "CALIBRATION_ENTER",
"title": "进入标定流程",
"action": "SCANNER_CALIBRATION_ENTER",
"method": "POST",
"referenceableFields": [],
"note": "设备连接后进入标定流程;采集中的扫描工程需先暂停。后续选择标定模式再启动对应标定。"
},
{
"operation": "CALIBRATION_MODE",
"title": "选择标定模式",
"action": "SCANNER_CALIBRATION_MODE",
"method": "POST",
"referenceableFields": [
"mode"
],
"note": "先进入标定流程,再选择文档规定的模式编号。标定流程不等同于普通扫描工程。"
},
{
"operation": "CALIBRATION_START",
"title": "开始当前标定",
"action": "SCANNER_CALIBRATION_START",
"method": "POST",
"referenceableFields": [
"confirm"
],
"note": "先进入标定并选择模式;启动命令成功不代表现场姿态采集与整个标定流程已经完成。"
},
{
"operation": "CALIBRATION_TRAK",
"title": "设置跟踪仪标定类型",
"action": "SCANNER_CALIBRATION_TRAK",
"method": "POST",
"referenceableFields": [
"trakType",
"confirm"
],
"note": "先进入对应跟踪仪标定流程,再选择标定类型。类型编号可填写或引用上游。"
},
{
"operation": "CALIBRATION_SYSTEM",
"title": "开始系统标定",
"action": "SCANNER_CALIBRATION_SYSTEM",
"method": "POST",
"referenceableFields": [
"confirm"
],
"note": "先进入并设置系统标定条件,需要现场设备与标定件就绪。"
},
{
"operation": "CALIBRATION_FREE",
"title": "设置自由标定开关",
"action": "SCANNER_CALIBRATION_FREE",
"method": "POST",
"referenceableFields": [
"enabled",
"confirm"
],
"note": ""
},
{
"operation": "CALIBRATION_CAPTURE",
"title": "采集标定姿态",
"action": "SCANNER_CALIBRATION_CAPTURE",
"method": "POST",
"referenceableFields": [
"confirm"
],
"note": "需要已进入自由标定流程并准备好当前姿态;每次执行采集一次姿态,不能用普通扫描数据代替。"
},
{
"operation": "CALIBRATION_COMPUTE",
"title": "计算自由标定结果",
"action": "SCANNER_CALIBRATION_COMPUTE",
"method": "POST",
"referenceableFields": [
"confirm"
],
"note": "先完成自由标定所需的姿态采集,再计算结果;具体有效姿态数量由SDK判断。"
},
{
"operation": "CALIBRATION_ADVANCED",
"title": "设置精细标定开关",
"action": "SCANNER_CALIBRATION_ADVANCED",
"method": "POST",
"referenceableFields": [
"enabled",
"confirm"
],
"note": ""
},
{
"operation": "CALIBRATION_APPLY_LAST",
"title": "应用上次标定结果",
"action": "SCANNER_CALIBRATION_APPLY_LAST",
"method": "POST",
"referenceableFields": [
"mode",
"confirm"
],
"note": "需要厂家软件中存在可应用的历史标定结果,不能以本平台任务编号替代。"
},
{
"operation": "METADATA",
"title": "查询公开服务元数据",
"action": "SCANNER_METADATA",
"method": "GET",
"referenceableFields": [],
"note": ""
},
{
"operation": "HEALTH",
"title": "健康检查",
"action": "SCANNER_HEALTH",
"method": "GET",
"referenceableFields": [],
"note": ""
},
{
"operation": "STATUS",
"title": "读取设备和工程状态",
"action": "SCANNER_STATUS",
"method": "GET",
"referenceableFields": [],
"note": ""
},
{
"operation": "CAPABILITIES",
"title": "读取当前功能能力",
"action": "SCANNER_CAPABILITIES",
"method": "GET",
"referenceableFields": [],
"note": ""
},
{
"operation": "METRICS",
"title": "读取图像编码与缓存指标",
"action": "SCANNER_METRICS",
"method": "GET",
"referenceableFields": [],
"note": ""
},
{
"operation": "TASK",
"title": "查询异步任务",
"action": "SCANNER_WAIT",
"method": "GET",
"referenceableFields": [],
"note": ""
}
]
}