2 Commits
Author SHA1 Message Date
hm ea63771d70 VDE-399: 落地视口拾取射线/轨道相机/zoom-to-fit/多视图布局
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
提案 4 项 API 全部实现(vde_ui/viewport_api.h):
- screen_to_ray:用 (proj*view) 逆矩阵反投影屏幕像素到世界空间射线;
  PickRay 扩展 t_near/t_far
- OrbitState + orbit_to_pose + update_orbit:球坐标↔相机姿态,
  方位角环绕、仰角钳制 ±89°、距离下限
- zoom_to_fit:包围盒自适应距离,相机方向与上轴成 preferred_angle
- ViewLayout/LayoutView/compute_view_layout:五种标准布局

附带修复:既有 orientation_cube_face 将 Y 轴当上下、Z 轴当前后,
与工程 Z-up 约定及既有测试(+Z→"top")矛盾,已按 Z-up 修正。

测试:test_viewport_api 22/22 全绿(新增 VDE-399 共 16 例)。
2026-10-05 17:34:02 +08:00
hm 85f2df2ca7 refactor(batch2): extract pdm/license/platform/ui modules
Moved 4 module groups out of geometry kernel:

- vde_pdm: bom_table + quality_feedback + material_library (from brep/core)

- vde_license: license_manager (from core, vde_version.h updated)

- vde_platform: platform (from core, io_dwg_plugin.cpp updated)

- vde_ui: gizmo_api + selection_manager + viewport_api (from brep)

All modules compile. Pre-existing test failures unchanged (case-sensitive tier parsing, orientation cube)
2026-08-06 16:27:36 +08:00