Maya Python code for cleaning up mocap data - requires peelSolve install.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data adding test data Apr 12, 2016
doc work in progress on loader gui Jan 13, 2016
icons
mocapCleanup pep8 for c3d, gui tweaks Jul 10, 2018
peelsolve
README.md

README.md

These tools can be used to clean up motion capture data in Autodesk Maya.

Requires PeelSolve to run, which can be downloaded from here:

http://mocap.ca/peelsolve.php

The demo version of peelsolve has everything needed (c3d importer, custom locators, etc) - the "pro" version has more solver features which are not used for data cleanup.

Documentation

Some Documentation (work in progress).

Video

<iframe width="640" height="360" src="https://www.youtube.com/embed/rj3pb_jnkfw" frameborder="0" allowfullscreen></iframe>

https://www.youtube.com/watch?v=rj3pb_jnkfw

Installation

  1. Download or clone the git repo
  2. Edit your maya.env to add the icons and python scripts.
    http://help.autodesk.com/view/MAYAUL/2015/ENU/?guid=GUID-8EFB1AC1-ED7D-4099-9EEE-624097872C04

    e.g.:

    PYTHONPATH=$PYTHONPATH:/Users/al/git/cleanup
    XBMLANGPATH=$XBMLANGPATH:/Users/al/git/cleanup/icons:/Applications/PeelSolve/icons
    

    The PYTHONPATH must be the directory that contains the mocapCleanup directory, not the .py files

  3. Start maya.
  4. Run this python:

    import mocapCleanup
    mocapCleanup.shelf()
    mocapCleanup.keys() 
    

  5. Running the last command above will map the following keys:

    Setting Home alt to Set Current 1
    Setting Home to Move to current 1
    Setting End alt to Set Current 2
    Setting End to Move to current 2
    Setting Page_Up alt to Set Current 3
    Setting Page_Up to Move to current 3
    Setting Page_Down alt to Set Current 4
    Setting Page_Down to Move to current 4
    Setting 8 to Extract Selected
    Setting 9 to One To Two