Expand description
Pipeline-mechanical clip transforms, ported from the incubating bake’s Python: frame-window slicing, hold-extension, and gait-anchor rotation. Scope rule (DESIGN.md §1): animsmith may rewrite a clip only in ways whose correctness its own checks can verify.
Structs§
- Gait
Align Outcome - Outcome of
align_gait_anchor.
Functions§
- align_
gait_ anchor - Rotate a cyclic clip in time so its measured stride anchor (the trough of the L−R foot-height fundamental) lands at clip time 0.
- hold_
extend - Append one key per track duplicating its final value
hold_sseconds after its last key (a linear hold — charge/block poses). The clip duration extends to the longest held end. - slice
- Keep only the keys inside
[start, end]seconds (with a half-frame epsilon atfpsabsorbing float drift from earlier retimings) and retime them so the window starts at 0. Cubic tangent triplets move with their keys. The clip duration becomesend - start.