Three solver defects made limbs teleport, twist, or windmill: write-back angles wrapped at ±180 and lerped the long way around; branch flips landed on configurations the anatomical write-back cannot represent, silently pulling pinned extremities off their pins; and the degenerate straight-limb bend plane fell back to the camera axis instead of the anatomical anterior. solve_limb now verifies each branch reproduces the solved end before accepting it, resolve unwraps written-back angles toward the pose they replace, and the degenerate plane comes from the parent's anterior axis. render.py --check replays every exercise's full tween loop and fails hard on six invariants (pin fidelity, continuity, wraps, authored-vs-resolved drift, ground penetration, resolved ROM); --export refuses to ship a failing exercise. All 66 motions re-authored or retouched to pass: honest authored angles where pins used to override them silently, grounded feet on the seated machines, a vertical bench-press bar path, straight-armed child's pose, a butterfly stretch seated on the mat, and FK arms where pins forced impossible reaches. MotionSolver.swift mirrors the solver changes line for line, held by regenerated fixtures. Claude-Session: https://claude.ai/code/session_01PKptrgbx74peTwHGRxBojv
134 lines
1.8 KiB
JSON
134 lines
1.8 KiB
JSON
{
|
|
"profiles": {
|
|
"neutral": {
|
|
"headR": 10,
|
|
"neck": 20,
|
|
"spine1": 43,
|
|
"spine2": 42,
|
|
"upperArm": 30,
|
|
"foreArm": 30,
|
|
"thigh": 46,
|
|
"shin": 40,
|
|
"foot": 11,
|
|
"shoulderHalf": 11,
|
|
"hipHalf": 7,
|
|
"farOffset": [
|
|
6,
|
|
2
|
|
]
|
|
},
|
|
"female": {
|
|
"headR": 9,
|
|
"neck": 19,
|
|
"spine1": 40,
|
|
"spine2": 39,
|
|
"upperArm": 27,
|
|
"foreArm": 27,
|
|
"thigh": 47,
|
|
"shin": 41,
|
|
"foot": 10,
|
|
"shoulderHalf": 8.5,
|
|
"hipHalf": 9,
|
|
"farOffset": [
|
|
6,
|
|
2
|
|
]
|
|
},
|
|
"male": {
|
|
"headR": 10,
|
|
"neck": 20,
|
|
"spine1": 44,
|
|
"spine2": 43,
|
|
"upperArm": 31,
|
|
"foreArm": 31,
|
|
"thigh": 47,
|
|
"shin": 41,
|
|
"foot": 11.5,
|
|
"shoulderHalf": 13,
|
|
"hipHalf": 6.5,
|
|
"farOffset": [
|
|
6,
|
|
2
|
|
]
|
|
}
|
|
},
|
|
"joints": {
|
|
"spine": {
|
|
"flexion": [
|
|
-40,
|
|
55
|
|
],
|
|
"lateral": [
|
|
-35,
|
|
35
|
|
],
|
|
"rotation": [
|
|
-55,
|
|
55
|
|
]
|
|
},
|
|
"neck": {
|
|
"flexion": [
|
|
-55,
|
|
55
|
|
],
|
|
"rotation": [
|
|
-80,
|
|
80
|
|
]
|
|
},
|
|
"head": {
|
|
"flexion": [
|
|
-120,
|
|
120
|
|
]
|
|
},
|
|
"shoulder": {
|
|
"flexion": [
|
|
-70,
|
|
195
|
|
],
|
|
"abduction": [
|
|
-40,
|
|
185
|
|
],
|
|
"rotation": [
|
|
-95,
|
|
95
|
|
]
|
|
},
|
|
"elbow": {
|
|
"flexion": [
|
|
-10,
|
|
155
|
|
]
|
|
},
|
|
"hip": {
|
|
"flexion": [
|
|
-30,
|
|
130
|
|
],
|
|
"abduction": [
|
|
-40,
|
|
55
|
|
],
|
|
"rotation": [
|
|
-50,
|
|
50
|
|
]
|
|
},
|
|
"knee": {
|
|
"flexion": [
|
|
-10,
|
|
150
|
|
]
|
|
},
|
|
"ankle": {
|
|
"flexion": [
|
|
-70,
|
|
30
|
|
]
|
|
}
|
|
}
|
|
}
|