Commit Graph

226 Commits

Author SHA1 Message Date
f86e8c8bf4 fix: 贴合地面后绕垂直轴搜索最小截面 yaw,对齐路径方向
贴地旋转已固定俯仰/翻滚,只剩绕宿主 Up 的 yaw 自由度。
对 CAD 姿态天然歪斜的物体,假设 local +X 是长轴会失败,
改为搜索 [0,360) 使物体在路径方向的截面投影面积最小,
与自动调整同目标但单自由度搜索更稳定。

- 新增 AlignToGroundMinCrossSectionYawSearcher(粗搜5°+细搜1°)
- 复用 ObjectPassageProjectionOptimizer.ProjectExtent 的 AABB 投影公式
- 新增 7 个单测覆盖平地/倾斜/CAD歪斜/垂直退化/立方体
- 经多物体实测验证:Chair Lounge Couch / Chair Sitting Square 均正确对齐
2026-06-23 23:09:59 +08:00
c7a1eeebb8 feat: add FaceInferToolPlugin - single-click face normal inference tool
- New FaceInferToolPlugin: pixel-neighborhood method with {2,5,10}px offsets
- New FaceInferResult data class
- Test button in SystemManagement page
- Cursor: MarkupAutoPoly (arrow + dashed box)
- Uses project-standard tools: FindNamedParentContainer, viewpoint.Position
- Design doc at doc/design/2026/face-infer-tool-design.md
2026-06-02 23:11:11 +08:00
fddefde1ed docs: 更新别名树实施方案 — 新增显示原则 + 修正标识/定位/联动描述
- 新增第7节「别名树显示原则」:二条件OR逻辑、深度限制、别名特殊规则、按需加载生命周期
- 第4节:标识改为 CreatePathId格式,定位改为 Models.ResolvePathId
- 第10节:JSON导出格式改为 key 字段
- 第11节:双向联动改为 ModelItem.Parent链 + ExpandAndSelect
- 清理 CleanupOnDemandNodes 逻辑文档化
2026-06-01 09:10:47 +08:00
3f985aa235 phase 1: data layer for alias tree
- AliasNodeIdentity: stable composite node identifier (path + sibling index)
- AliasDataStore: CRUD operations on SQLite AliasMap table
- PathDatabase: add AliasMap table creation + index
- Unit tests: 30 tests for identity parsing/equality, store CRUD/batch/import
- Both projects compile successfully
2026-05-31 12:46:33 +08:00
e224e332a3 更新版本号至 0.15.2,更新 CHANGELOG 和 todo_features
- VERSION.md: 0.15.0 → 0.15.2
- CHANGELOG.md: 新增 [0.15.2] 条目(自动最优朝向、Y 轴旋转按钮、上下偏移、
  性能优化、布局优化)
- todo_features.md: 新增 [2026/5/27] 条目,4 项已完成
2026-05-27 15:42:28 +08:00
7187bcf622 自动最优朝向: 黑盒实测模式
- 新增 ObjectPassageProjectionOptimizer(SO(3)粗搜索+Nelder-Mead)
- EditRotationWindow 加入"自动调整"按钮
- AnimationControlViewModel 实现黑盒实测评估(临时摆位→读BoundingBox→恢复)
- 设计文档和实现计划
2026-05-27 12:24:01 +08:00
19a38e5446 0.15.1: 修复角度输入崩溃、Y轴修正动画丢失、数据库连接缺失三个bug
- 修复编辑角度窗口空输入反复确认崩溃 (UpdateSourceTrigger LostFocus→Explicit)
- 修复Y轴角度修正在动画播放时双重叠加导致丢失 (删除 ApplyPlanarTrackedPose 中重复的 ResolvePlanarHostUpCorrectionRadians)
- 修复先开文档后加载插件时路径数据库未连接 (InitializePathPlanningManager 中加入数据库连接)
- 重构: TryConnectPathDatabase 辅助方法; TryUpdateNumberTextBox 拆分验证逻辑
- 更新 AGENTS.md 精简版; 更新 CHANGELOG.md 0.15.1; 更新 todo_features.md 5/18 条目
2026-05-26 21:02:48 +08:00
1e8916b828 补充剖面盒恢复修复报告 2026-05-16 15:22:17 +08:00
47af2443cd 数据库schema兼容+剖面盒导出修复+代码重构
- 数据库:SafeCreateIndex/EnsureColumnExists 防御旧schema;去掉无用PRAGMA user_version;去掉重复throw;清理注释编号
- 剖面盒导出:修复NWF多Model无统一根节点时空白子树泄露(RootItem级隐藏)
- 崩溃修复:去掉LayerManagementViewModel中两处Task.Run,消除COM跨线程STA违规
- 重构:SectionBoxExporter新增ExportSectionBoxFromActiveView统一业务入口;LayerManagementViewModel删ExportSectionBoxToNwdAsync;删死代码ExportToJson(Document)/ShowSaveFileDialog
- deploy-plugin.bat: powershell→pwsh;AGENTS.md补充编译部署调用说明
2026-05-16 14:59:56 +08:00
0a318f4dca Update completed todo items 2026-04-26 19:13:40 +08:00
fdb857af17 Refactor auto path planning coordinate semantics 2026-04-13 10:31:14 +08:00
144ee4e6b2 refine hoisting path fixes 2026-04-09 23:09:56 +08:00
405f721811 Ground real-object incremental path updates 2026-04-08 23:06:42 +08:00
042f30bf87 地面路径重构失败,留下一些教训 2026-04-06 22:39:02 +08:00
8a7563a4fe Clarify ground tracked-point semantics 2026-04-06 08:55:53 +08:00
2e0b26e032 Refine rail assembly workflow and viewpoint strategies 2026-04-01 10:47:34 +08:00
6214cd4397 Improve clipboard copy utilities and dialogs 2026-03-28 22:55:45 +08:00
9f1924a797 Add real object pose source migration draft 2026-03-26 13:46:51 +08:00
3a5693a453 Add rail mount placement controls and persistence 2026-03-26 01:01:01 +08:00
029c7e37ad Checkpoint current pose and path state 2026-03-25 01:41:15 +08:00
138eb43a67 Unify real-object rail pose interpretation 2026-03-25 00:11:07 +08:00
290df34dec Interpret fragment up for real object pose 2026-03-24 21:04:24 +08:00
d52b1aef08 Checkpoint animation rotation refactor state 2026-03-23 21:00:02 +08:00
e9128282b5 Fix rail rotation correction semantics 2026-03-23 00:11:49 +08:00
b1d4170334 Fix animation end alignment and YUp viewpoint focus 2026-03-22 14:45:50 +08:00
8f55b5e9a1 Fix YUp hoisting path rendering and finish sync 2026-03-22 12:21:25 +08:00
042b9a2804 Refine canonical pose flow and handoff notes 2026-03-22 00:00:16 +08:00
7ccce8cf5a Stabilize rail collision pose recovery and canonical tracking 2026-03-21 21:58:11 +08:00
c53db7a6fd Finalize canonical rail coordinate integration 2026-03-21 19:19:13 +08:00
3fd184934b Establish canonical coordinate framework with tests 2026-03-21 06:10:34 +08:00
5e8c50e043 Stabilize rail 3D animation transforms 2026-03-20 12:50:08 +08:00
5847ba9ab3 Fix rail assembly pose and animation flow 2026-03-20 11:13:43 +08:00
a55ef42f71 Add linear assembly reference path and rod alignment 2026-03-19 22:00:04 +08:00
0c83c73917 feat: add linear assembly rail path workflow 2026-03-19 00:18:24 +08:00
3b801c6bd4 给“导出剖面盒”增加导出nwd文件;重构了可见性的保存和恢复 2026-03-11 19:03:43 +08:00
0f669fd995 增加导出为Delmia兼容的xml格式 2026-03-09 17:47:39 +08:00
dc29c3526e 修改坐标系探索为检测;去掉坐标系设置的介绍 2026-03-09 12:51:04 +08:00
97296085f5 增加了验收设计说明文档 2026-02-27 19:41:12 +08:00
759a41fb7e 编写管理员手册 2026-02-26 00:44:11 +08:00
edcbd0802b 初步实现多层吊装路径 2026-02-24 03:57:33 +08:00
ae845bc571 检查并修复弹出窗口、对话框、消息框,未设置owner的情况 2026-02-23 00:25:17 +08:00
c910ab3ae7 修正切换路径剖面盒没变的问题 2026-02-21 16:25:25 +08:00
1a959ceb9d 修改空轨的日志级别; 2026-02-21 11:47:32 +08:00
5ca793e093 修正检测配置重复,动画结束还检测的问题。自动打开重复的历史记录报告 2026-02-20 00:13:15 +08:00
3f0b42770d 实现了路径的剖面盒开关 2026-02-19 22:07:51 +08:00
7fbbcdd448 合并检测记录和碰撞记录表,重构检测过程 2026-02-18 22:34:18 +08:00
ac6d3b4017 给碰撞构件清单,也加上碰撞对聚焦 2026-02-17 11:37:45 +08:00
a304191b13 碰撞报告自动对碰撞点截图;纠正插件改名造成的路径错误。 2026-02-17 10:21:35 +08:00
57751e85fa 实现完整的时间标签功能 2026-02-16 19:46:38 +08:00
2fb883ae18 将插件和输出名字中的navisworks去掉 2026-02-16 11:22:03 +08:00