top of page

Biped gait animation with Python

  • Foto del escritor: ABIGAIL JIMENEZ OROPEZA
    ABIGAIL JIMENEZ OROPEZA
  • 24 abr 2021
  • 1 Min. de lectura

Actualizado: 2 feb 2022

No manual animation. Just a Python code.

painting brushes


Python. Maya. No manual animation.


Animating 3D manually takes a lot of time and effort, as well as being mathematically and physically incorrect. How to optimize this process and correct mistakes? The answer boils down to one word: Programming.



It is possible to animate in Autodesk Maya using programming. Using the correct Maya and Python syntax you can animate entire rigs from any 3D model. For this project in particular, I made the animation of the bipedal gait of a model of the human skeleton. However, I used as a foundation a software specialized in simulation and biomechanical analysis named OpenSim.


Check out this comparison between OpenSim (Left) and Maya (Right) of normal bipedal gait.



All this was thought of for those people who suffer from anomalies in their gait, for example, mild crouching and severe crouching. What OpenSim does is collect true numerical information in a text file, a file that is read by the software and translated into animation by assigning a rotation value to each joint in the corresponding frame.


I brought that text file into Maya using Python code. I also made a little user interface to make it more comfortable to do an automated animation. Then, in that interface, the data from the text file is searched for and read, unnecessary characters are removed (such as spaces and tabs) and with that the corresponding button can be selected to start making the animation.





Super special thanks to Dr. Omar Domínguez Ramírez and professor Juan Carlos Gonzáles Islas, the minds behind the project. You can read the article here.


 

We are talking about:


Comments


IMG_20211218_174732_edited.jpg

Hi, thanks for stopping by!

Abigail Jimenez here! If you want to know about me, click the button below!

Let the posts
come to you.

Thanks for submitting!

  • Facebook
  • Instagram

Let me know what's on your mind

Thanks for submitting!

© 2022 by Abigail Jimenez. Proudly created with Wix.com

bottom of page