I made a topic at cgsociety under rigging, but Im thinking some people here would have a programming way to do it.
Im not that familiar with the api in python, just the command reference so excuse me if this is obvious to someone. Basically I have some mocap data and I need to create a skeleton based off of this data. The only information i can get is a text file with a joint name, xyz position, axis, and rotation value. The problem is none of the rotations are 0,0,0, so when i create the joints and move them to location, they have 0 rotations. I tried using the cmds.joint() and rotating the joint to the proper position before hand, but first, i get warning that says skipping joint it has non-zero rotations, and secondly the orientation axis does not align with the joint anymore. Ideally, is there some way, once i have a skeleton with all of the joints in the correct position and correct axis, to tell the joint, currently your rotation is 40,0,0 ... but I dont want the joint to move just update that its current position is actually not ,0,0,0. Any thoughts on how to do it? Thanks! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
