Posts

Python Final Project

I finished the first version of my Mixamo Rig Converter script.

With this script, you will be able to download anything you want off Mixamo and turn it into an animateable rig.
It will create controls to animate the rig. The existing animation will then be transferred over to these controls.
Display and Animation layers will be automatically generated, for easy organization.
The created animation layer is additive with all controls added to it, so you will be able to start animating right away.

You can check the Joint Orientation of the rig with the first 2 buttons.

Next, you can decide how big the NURBS circles will be for your controls.
Don’t forget to click set. You can create some test sizes beforehand and delete them all at once when you find the right size.

You can set the time range of what parts of the animation you want.
The frequency is how often they will set a keyframe.

When you have set everything, click the bottom button and have fun with your new rig.

Python Last Assignment WIP 02

I haven’t updated my blog in a while but that doesn’t mean I haven’t been working on things.

Here is an update on the script for class.
I downloaded a rig of mixamo.com. My script generates NURBS curves at all the joints, parent constraints to the corresponding joint, and the NURBS curves mimic the joint hierarchy.
Also, I rename the joints to have the “_JNT” suffix added to the end of it. Then I have the NURBS curves mimic the name of the joints but replace “_JNT” with “_CNTRL”

I’m no done but it’s in a good spot at the moment.
Next, I will change the controls to rotate to be in the optimal angle for the rig, change the control size so they are easier to grab them, and create a UI to interact with the script.
My stretch goal is to take the Mixamo keyframes from the joints and bake them onto the controls I have created.

Python Last Assignment WIP 01

I started working on a script for my last assignment for class.
Currently, I have a set of joints made by hand. The script creates a NURBS circle as the controller and then it parents it to the matching joint.
Next, I want to have the controls rotated the correct way. I also want to place them at the exact spot of the joint (right now I have them in arbitrary positions that are close enough).

Week 8 Python Homework

This week we are learning about custom UI’s and Dialogue Boxes.

I created a normal Maya dialogue box to warn you about errors. The help button will bring you to my website where the documentation is.

The next script is a custom UI asking the user how many cubes they want to make. You can choose between big and small cubes.
This was a test run before creating a more complex script with a custom Ui.

Week 7 Bonus Python Homework

I finished the bonus question for my homework. It generates a forest with the tree models provided. We also were prompted to create an image with words over it, like a postcard. I automated this step too. Creates a new poly plane, moves it in from of the camera, creates new material, and attaches 2 textures to the material. I separated the forest creation and the plane creation into their own functions. With this, you can easily generate more forests without creating extra planes.

WEEK 7 PYTHON HOMEWORK

The past few days I have been working on my python homework. I’ve finished the 2 main scripts but still need to do the bonus question.

1st script creates a scene from scratch.

2nd script adjusts Maya’s userSetup.py file which starts Maya in a way it normally wouldn’t. In this case, it adds another shelf with 2 buttons. One button creates a simple sphere and the other sends you to my website.

Week 6 Python Homework

I finished my homework for class. There were a few things I made with this assignment.

1:  Script to automate some import and workflow settings.

2: A shelf button that snaps the second object to the first one you selected.

3: An automated version saver. If you set up your file in a certain naming convention the script will be able to change the number every time you use it to save.

Python class work

I’m currently enrolled in Python for VFX and Animation on Maya.

We are on week 6 of 8. This week we take all of out python knowledge we learned and incorporate it into Maya.

I finish watching the lecture and have started the homework. The due day is Sunday morning and I should have the assignment and bonus problem done by then.