Basic Auto Rigging in Maya with Python (Part 3)

preview_player
Показать описание
This video series how to do basic auto-rigging using python. This video will cover how to create preset controls for scale, specifically the IK controls.

Here is what the videos in this series are covering:
Part 1 - Basic interface setup
Part 2 - Connecting GUI objects
Part 3 - Making preset icons for scale (IK)
Part 4 - Making preset icons for scale (FK, PV, Hand)
Part 5 - Connecting GUI to preset icons
Part 6 - Creating auto arm rig (main function)
Part 7 - Creating auto arm rig (ik setup)
Part 8 - Creating auto arm rig (fk/switch setup)
Part 9 - Finalizing
Рекомендации по теме
Комментарии
Автор

Great tutorial very useful!


for anyone who is stuck making custom shapes, do not worry is easy! just use CV curves tool to make the shape and once your done select all the vertex (one shape at a time) then run this little code:

vertPosition=[]
for vert in cmds.ls(sl=True, flatten=True):
vertPosition.append(cmds.xform(vert, q=True, translation = True))
print vertPosition


might have to fix the indent but this will give you all the vertex positions of the custom shape you just made, hope it helps.

michaelenderby
Автор

Great videos! May I suggest adding the code for the shapes you are using somewhere either in the video description or maybe a link? As it isn't possible to copy down the code you are using for the different icons in the video (cube, 4 arrows, 4 pin, etc). Thanks!

slytrashpanda
Автор

Hey PoP, thanks for this video man !!
I'm new to Python programming and I'm wondering how did u get those numbers to create the curves, do you know what I could do to create my owns ? Where I could find those numbers or how can I convert it from MEL to Python?
Thank you so much for this Tutorial !

bernardesanimation
Автор

Hello i have quite a problem seeing the code for creating the ik box. i have no idea how to create box curves using python script

triuyentang
Автор

I would love to get the code for the custom shapes, just because I dont have the time at the moment to make custom shapes and they would be a nice placeholder

ckypowerthirst
Автор

Thanks for helping me during part1. Could you help me again?
After finished part3 podcast, I executed my script but I got an error that

Documents/maya/scripts\new_arm_rig.py", line 141
# ik_box_List = pm.ls(ik_box, dag=True)

line 141 equal's color keeps white.

Also, could you tell me cube, arrows, and pin's Coordinate? It's difficult for me to type all positions.

arao
Автор

I want too put a shape of a diamond but it doesn't work.
Can you help me with this error?
Maya Attribute does not exist (or is not unique)::

Mo-fuoi
join shbcf.ru