feat(web): robot rig action builds the armature and binds links through the engine
- 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>
This commit is contained in:
@@ -184,8 +184,8 @@ export type WebEngineEditCommand =
|
||||
| { type: "setActiveAction"; objectId: string; actionId: string | null }
|
||||
| { type: "setConstraint"; baseRevision?: number; objectId: string; constraintName: string; enabled: boolean; influence: number }
|
||||
| { type: "moveConstraint"; baseRevision?: number; objectId: string; constraintName: string; direction: "UP" | "DOWN"; boneName?: string }
|
||||
| { type: "setParent"; objectId: string; parentId: string | null; keepTransform?: boolean }
|
||||
| { type: "setParents"; objectIds: string[]; parentId: string | null; keepTransform?: boolean }
|
||||
| { type: "setParent"; objectId: string; parentId: string | null; keepTransform?: boolean; parentType?: "OBJECT" | "BONE"; parentBone?: string }
|
||||
| { type: "setParents"; objectIds: string[]; parentId: string | null; keepTransform?: boolean; parentType?: "OBJECT" | "BONE"; parentBone?: string }
|
||||
| { type: "createCollection"; name: string; parentCollectionId?: string | null }
|
||||
| { type: "moveObjectToCollection"; objectId: string; collectionId: string; keepExistingLinks?: boolean }
|
||||
| { type: "moveCollection"; collectionId: string; parentCollectionId?: string | null; anchorCollectionId?: string | null; after?: boolean }
|
||||
|
||||
Reference in New Issue
Block a user