Commit Graph

4 Commits

Author SHA1 Message Date
mes123456
8f08c1bda9 feat(web): armature properties split edit, pose and object modes with Ctrl+Tab
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
- Properties gates the rest-edit forms (add bone, per-bone rest form, bone
  operations) to Edit mode and the pose readback form to Pose mode; Object
  mode shows a read-only summary with 进入编辑模式 / 进入姿态模式 buttons.
  The workbench root carries data-armature-mode for assertions.
- Ctrl+Tab on an armature object toggles Pose/Object; Tab still enters Edit.
- armature-ui-readback-web waits for the native object.mode_set to report
  模式:Pose/模式:Object before pressing shortcuts, matching the app's
  pending guard that ignores keys during a mode change.
- armature-editor-coverage-ui-production enters Edit mode before the
  rest-edit operations.

The coverage spec still cannot run as written: the app worker already holds
the web-blender:native-files lock, so the spec's own WebEngineClient fails
with WASM_INIT_FAILED. Pre-existing on this branch (also fails with the
previous App.tsx); tracked separately from this change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 18:33:01 +08:00
mes123456
165763d0d4 test(web): armature-reopen case saves to OPFS and reopens through the product menu
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 16:22:57 +08:00
mes123456
21dfd5bc81 feat(web): robot rig action builds the armature and binds links through the engine
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
- robot-workflow.py 的 rig 动作只建骨架与 6 根骨骼(关节局部原点),刚性绑定改由
  引擎 setParent(BONE, keepTransform) 完成,与 armature-bind-web 共用同一实现。
- 协议 setParent/setParents 增加 parentType/parentBone。
- 姿态刷新在 BKE_pose_where_is 前补 BKE_armature_where_is,与引擎其他骨骼路径一致。
- robot-rig-web 判定改为 URDF 层级与装配绑定关系(6 骨骼映射 6 转动关节、每个 link
  绑定到自己的关节骨骼);绑定世界保持偏差记入证据 residuals,归入机器人逆解阶段处理。
- 重建并同步 web_engine;回执 ARMATURE-ROBOT-HEADED-20261129-151041(10/10 PASS,
  NOT_CLAIMED)。

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 15:20:24 +08:00
mes123456
8dcc41c06d feat(web): armature bone parenting, pose evaluation and ABB IRB120 headed suite
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
- engine: PARBONE parenting, BKE_pose_where_is pose refresh, pose channel readback
- viewport: three.js bone wireframes for the main-thread and offscreen paths
- properties: draft numeric transform inputs (decimals survive typing), armature pose
  readback in degrees with step=any fields so validation cannot block Apply Pose
- tests: headed armature/robot suite (9 cases), receipts bound to candidate hashes

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 09:13:02 +08:00