> > > Anyhow, I basically just want to return the scale of an object/locator as > if you unparented it, and got that value in scale. Which I believe your > functions does for me. Thank you. I'm a little surprised maya doesn't give > you access to 'global scale', but does for all other components of a > transform. > > The problem is that, in the general case, there's no such thing as a simple "global scale". As soon as you start rotating and applying non-uniform scales, things get messy.
To take an easy example, form a hierarchy where you take a cube, scale in x by 3, rotate 30 degrees, scale in x by 3 again, and rotate 30 degrees again. You now have a transformation that cannot be represented by a single rotation and a single scale. In order to decompose that, you would either need to introduce a shear factor, or allow repeated scales or rotations. - Paul -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7ZYH9s5FQFqyLtBA-Ze7vj55jxPnJjRrUc%2ByhhwqUnu-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
