新增标注导出和JSON数据集导入

This commit is contained in:
2026-07-14 19:22:28 +08:00
parent c0a5fb8e26
commit 17964d4ee7
22 changed files with 1490 additions and 10 deletions
+12 -1
View File
@@ -186,7 +186,8 @@
`GET /api/cad-models/{modelId}/histories`
`historyIndex` 升序、ID 升序返回。
`historyIndex` 升序、ID 升序返回。若步骤已有自身标注,响应中的 `annotation`
会携带建模说明、补充描述和备注;未标注的步骤不返回该字段。
#### Path 参数
@@ -214,6 +215,16 @@
"glbPath": "uploads/history/101.glb",
"topologyPath": "uploads/history/101.topology.json",
"convertStatus": "success",
"annotation": {
"id": 1001,
"modelId": 1,
"historyId": 101,
"modelingDescription": "通过草图轮廓拉伸形成主体",
"supplementDescription": "该步骤决定主体厚度",
"remark": "已复核",
"createdAt": "2026-07-08 16:21:00",
"updatedAt": "2026-07-08 16:22:00"
},
"createdAt": "2026-07-08 16:20:00",
"updatedAt": "2026-07-08 16:20:00"
}