feat(web): armature bone parenting, pose evaluation and ABB IRB120 headed suite
- 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>
This commit is contained in:
@@ -44,6 +44,11 @@ export interface SceneNodeIR {
|
||||
sourceLibrary?: string | null;
|
||||
type: SceneNodeType;
|
||||
parentId: string | null;
|
||||
/** BONE marks PARBONE parenting; the parent world includes parentBoneMatrix. */
|
||||
parentType?: "OBJECT" | "BONE";
|
||||
parentBoneName?: string;
|
||||
/** Armature-space bone matrix (pose_mat plus head/tail factor) for BONE parents. */
|
||||
parentBoneMatrix?: number[];
|
||||
dataId: string | null;
|
||||
/** Collection instantiated by this empty object, if any. */
|
||||
instanceCollectionId?: string;
|
||||
@@ -150,6 +155,11 @@ export interface ArmatureBoneIR {
|
||||
connected?: boolean;
|
||||
restMatrix: number[];
|
||||
poseMatrix?: number[];
|
||||
/** Pose channel transforms the pose matrix was evaluated from. */
|
||||
poseLocation?: [number, number, number];
|
||||
poseRotationEuler?: [number, number, number];
|
||||
poseScale?: [number, number, number];
|
||||
poseRotMode?: number;
|
||||
poseConstraints?: Array<{
|
||||
name: string;
|
||||
type: "COPY_LOCATION" | "COPY_ROTATION" | "COPY_SCALE" | "IK" | "TRACK_TO" | "UNKNOWN";
|
||||
|
||||
Reference in New Issue
Block a user