# performing math operations within maya

 05 May 2006 davidfro Amateur Veteran ;-)   Davido Hyer 3D Animator/Effects artist Brigham Young University USA performing math operations within maya Is there any sort of built in mathematical function in maya for entering values? for example, say you want a sphere that has a radius of 1/27. is there a way to type this into maya rather than having to consult a calculator every time I have a fraction I need to enter? Thanks. Davido Hyer share quote
 05 May 2006 scottiedoo Computers Own My Life   portfolio Scott Englert Character TD Sony Pictures Imageworks Los Angeles, USA in a way yes and no.. there is a little trick I didn't know until someone told me a little while ago. I haven't fully tested where this will work, but I do know it works in the channel box and in the graph editor, so I am assuming it will work in most places that have a text field box. Using your example, if you had a sphere and you wanted to reduce it to 1/27th is radius than in the radius (or scale depending on where you want to put it) you would enter this in replacing the number currently there: *=0.037037 this will take whatever the current value and multiply it by 0.037037 which is the same as multiplying it by 1/27 or you could say divide it by 27... Maya for some reason does not like /=27 nor does it like *=(1/27) you can do this with +=NUMBER and -=NUMBER, I haven't tried any other math expressions, but it greatly helps out with quick reductions or multipies. so yo umay have to do some initial math.. but I hope that helps! -Scott its very simple and if you wanted __________________ http://www.scottenglert.com <- personal website share quote
 05 May 2006 CGTalk Moderation Expert Thread automatically closed This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum. __________________ CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. share quote

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off CGSociety Society of Digital Artists www.cgsociety.org Powered by vBulletinCopyright ©2000 - 2006, Jelsoft Enterprises Ltd.