NavisworksTransport/doc/working/test_path_import.json

118 lines
4.0 KiB
JSON

{
"PathPlanningData": {
"version": "1.0",
"generator": "NavisworksTransport",
"timestamp": "2025-11-07T15:30:00",
"ProjectInfo": {
"name": "测试物流路径",
"description": "用于测试JSON导入导出功能",
"units": "meters",
"coordinateSystem": "Global"
},
"Routes": [
{
"id": "route001",
"name": "测试路径1",
"description": "从入口到仓库的路径",
"totalLength": 45.6,
"vehicleLimits": {
"maxLength": 2.0,
"maxWidth": 1.5,
"maxHeight": 2.0,
"safetyMargin": 0.25
},
"gridSize": 0.5,
"created": "2025-11-07T10:00:00",
"points": [
{
"id": "point001",
"name": "起点",
"type": "StartPoint",
"index": 0,
"x": 0.0,
"y": 0.0,
"z": 0.0,
"created": "2025-11-07T10:00:00"
},
{
"id": "point002",
"name": "路径点1",
"type": "WayPoint",
"index": 1,
"x": 10.0,
"y": 0.0,
"z": 0.0,
"created": "2025-11-07T10:00:01"
},
{
"id": "point003",
"name": "路径点2",
"type": "WayPoint",
"index": 2,
"x": 20.0,
"y": 5.0,
"z": 0.0,
"created": "2025-11-07T10:00:02"
},
{
"id": "point004",
"name": "终点",
"type": "EndPoint",
"index": 3,
"x": 30.0,
"y": 10.0,
"z": 0.0,
"created": "2025-11-07T10:00:03"
}
]
},
{
"id": "route002",
"name": "测试路径2",
"description": "从仓库到出口的路径",
"totalLength": 32.4,
"vehicleLimits": {
"maxLength": 2.0,
"maxWidth": 1.5,
"maxHeight": 2.0,
"safetyMargin": 0.25
},
"gridSize": 0.5,
"created": "2025-11-07T10:05:00",
"points": [
{
"id": "point005",
"name": "起点",
"type": "StartPoint",
"index": 0,
"x": 30.0,
"y": 10.0,
"z": 0.0,
"created": "2025-11-07T10:05:00"
},
{
"id": "point006",
"name": "路径点1",
"type": "WayPoint",
"index": 1,
"x": 25.0,
"y": 8.0,
"z": 0.0,
"created": "2025-11-07T10:05:01"
},
{
"id": "point007",
"name": "终点",
"type": "EndPoint",
"index": 2,
"x": 20.0,
"y": 5.0,
"z": 0.0,
"created": "2025-11-07T10:05:02"
}
]
}
]
}
}