live: kitbash_pose pins the joints report's key set with manyDrivers; its result file from this run
Finding kitbash-pose-pins-joints-keys. The pin stays an exact set. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
679062ca9a
commit
351918a8a2
2 changed files with 2 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ try:
|
|||
table = {row["id"]: row for row in (joints or {}).get("joints", [])}
|
||||
check("joints reports the tree under the tank: schema, the root's frame, a row per DOF connection depth first with children by name, parents first, rigid ones counted",
|
||||
receipt["status"] == "accepted" and {k: v for k, v in joints.items() if k != "joints"} == {"schema": "brokkr.joints", "version": 2, "root": "Tank", "frame": "the root object's: Blender axes (+Z up), metres", "rigid": 2,
|
||||
"unlimited": ["Barrel", "Toe", "Ram"], "next": None}
|
||||
"unlimited": ["Barrel", "Toe", "Ram"], "manyDrivers": [], "next": None}
|
||||
and [row["id"] for row in joints["joints"]] == ["Strut", "Barrel", "Rod", "Hinge", "Toe", "Ram"], [receipt["message"], joints])
|
||||
check("a joint's parent is the nearest DOF connection above it, not the object it hangs from: the toe's is the hinge, through the rigid foot; the rod's is the barrel",
|
||||
{name: row["parent"] for name, row in table.items()} == {"Strut": None, "Barrel": "Strut", "Rod": "Barrel", "Hinge": "Strut", "Toe": "Hinge", "Ram": "Strut"} and toe.parent == foot,
|
||||
|
|
|
|||
|
|
@ -503,6 +503,7 @@
|
|||
"Toe",
|
||||
"Ram"
|
||||
],
|
||||
"manyDrivers": [],
|
||||
"next": null,
|
||||
"joints": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue