How maxliu22/motion2mixamorig works
Motion2MixamoRig converts a single-person video or still photo into a Mixamo-rigged character, animation data, and previews. The main workflow is CLI validation and run orchestration, human-motion extraction (or skeleton reuse), rig retargeting, character export, and preview generation. A Blender extension launches the same CLI in an external Python environment, monitors jobs, and imports results. The README documents these capabilities; some implementation links below rely on the SOURCE INDEX because their source was not excerpted.
Main entry points: pipeline.py Run pipeline · animation.py Animation assembly · cli.py CLI commands · main_panel.py Add-on panel
Components 31
CLI and workflow
- CLI commands
motion2mixamorig/cli.py - Asset checks
motion2mixamorig/checks.py - Asset paths
motion2mixamorig/paths.py - Run pipeline
motion2mixamorig/pipeline.py - Run report
motion2mixamorig/run_report.py - Progress events
motion2mixamorig/progress.py
Human motion
- Motion extraction
motion2mixamorig/extract.py - Keypoint stabilization
motion2mixamorig/stabilize_kp2d.py - Human skeleton
motion2mixamorig/human_motion.py
Mixamo output
- FBX skeleton parser
motion2mixamorig/mixamo/fbx_skeleton.py - Rig kinematics
motion2mixamorig/mixamo/kinematics.py - T-pose calibration
motion2mixamorig/mixamo/tpose_calibration.py - Motion retargeting
motion2mixamorig/mixamo/retarget.py - Y Bot retargeting
motion2mixamorig/mixamo/ybot_retarget.py - Animation assembly
motion2mixamorig/mixamo/animation.py - Skinned character
motion2mixamorig/mixamo/skinned_mesh.py - GLB export
motion2mixamorig/mixamo/gltf.py - Preview rendering
motion2mixamorig/mixamo/render.py - Preview outputs
motion2mixamorig/videos.py
Blender extension
- Add-on panel
blender_extension/motion2mixamorig_blender/panels/main_panel.py - Add-on preferences
blender_extension/motion2mixamorig_blender/preferences.py - Run operator
blender_extension/motion2mixamorig_blender/operators/run_pipeline.py - Process backend
blender_extension/motion2mixamorig_blender/services/backend.py - Job monitor
blender_extension/motion2mixamorig_blender/operators/runtime.py - Job status
blender_extension/motion2mixamorig_blender/services/job_monitor.py - Result reader
blender_extension/motion2mixamorig_blender/services/result_reader.py - Import character
blender_extension/motion2mixamorig_blender/operators/import_result.py
Other components
- User
- Blender user
- Run artifacts
- Inference weights
Connections 33
- User → CLI commands: runs
README.md - CLI commands → Asset checks: checks assets
motion2mixamorig/cli.py - CLI commands → Run pipeline: starts run
motion2mixamorig/cli.py - Asset checks → Asset paths: checks locations
motion2mixamorig/checks.py - Run pipeline → Asset paths: creates run folder
motion2mixamorig/pipeline.py - Run pipeline → Motion extraction: extracts motion
motion2mixamorig/pipeline.py - Motion extraction → Keypoint stabilization: uses
motion2mixamorig/extract.py - Run pipeline → Human skeleton: loads motion
motion2mixamorig/pipeline.py - Run pipeline → Animation assembly: builds animation
motion2mixamorig/pipeline.py - Animation assembly → Motion retargeting: retargets motion
motion2mixamorig/mixamo/animation.py - Animation assembly → Y Bot retargeting: uses
motion2mixamorig/mixamo/animation.py - Animation assembly → Rig kinematics: computes transforms
motion2mixamorig/mixamo/animation.py - Rig kinematics → FBX skeleton parser: builds rig
motion2mixamorig/mixamo/kinematics.py - Run pipeline → T-pose calibration: calibrates pose
motion2mixamorig/pipeline.py - Y Bot retargeting → T-pose calibration: uses
motion2mixamorig/mixamo/ybot_retarget.py - Run pipeline → Skinned character: builds character
motion2mixamorig/pipeline.py - Run pipeline → GLB export: exports GLB
motion2mixamorig/pipeline.py - Run pipeline → Preview outputs: generates previews
motion2mixamorig/pipeline.py - Preview outputs → Preview rendering: renders views
motion2mixamorig/videos.py - Run pipeline → Run report: writes run metadata
motion2mixamorig/pipeline.py - Run pipeline → Progress events: emits progress
motion2mixamorig/pipeline.py - Run pipeline → Run artifacts: writes artifacts
README.md - Run pipeline → Inference weights: uses weights
README.md - Blender user → Add-on panel: uses
blender_extension/motion2mixamorig_blender/panels/main_panel.py - Add-on panel → Run operator: dispatches
blender_extension/motion2mixamorig_blender/panels/main_panel.py - Add-on panel → Add-on preferences: reads settings
blender_extension/motion2mixamorig_blender/panels/main_panel.py - Run operator → Process backend: launches process
blender_extension/motion2mixamorig_blender/operators/run_pipeline.py - Process backend → CLI commands: invokes CLI
blender_extension/motion2mixamorig_blender/services/backend.py - Run operator → Job monitor: starts monitoring
blender_extension/motion2mixamorig_blender/operators/run_pipeline.py - Job monitor → Job status: reads job state
blender_extension/motion2mixamorig_blender/operators/runtime.py - Job monitor → Result reader: reads results
blender_extension/motion2mixamorig_blender/operators/runtime.py - Import character → Result reader: loads result
blender_extension/motion2mixamorig_blender/operators/import_result.py - Import character → Run artifacts: imports artifact
README.md