NavisworksTransport/doc/guide/user_guide.md

29 lines
993 B
Markdown
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.

### 生成动画测试流程
用户点击"生成动画"
SaveCollisionDetectionRecord
CheckExistingDetectionRecord
├── 找到相同配置?→ 弹出提示框
│ ├── 【是】→ 记录_lastReusedRecordId在历史列表中高亮返回已有ID
│ └── 【否】→ 清除_lastReusedRecordId继续创建新记录
└── 未找到 → 继续创建新记录
碰撞分析流程检查 IsReusedHistoryRecord
├── 是 → 提前返回,跳过动画生成和碰撞检测
└── 否 → 继续正常流程
生成动画
检查动画帧缓存
├── 命中 → 直接使用缓存的动画帧
└── 未命中 → 计算动画帧并缓存
检查配置是否已存在_animationHashToRecordId
├── 存在 → 提示用户选择使用历史记录或重新生成
└── 不存在 → 创建新记录,继续正常流程