View Full Version : measuring an angle...
tempelgarden 04-25-2003, 12:05 PM how do I measure an angle?
... in the help files (under vector functions) it says... returns the radian angle between two vectors....
but how do I specify the vectors in order to get the angle?
thanks
|
|
butCherHeLL
04-25-2003, 02:08 PM
Im not sure if you are talking about but
what u want an object to measure quickly as known.
press LMB to object (select ot rotate)
than HOLD press E and LMD and on the rotate menu network ,press "snap rotate"
or
measure snap angle in prefences/settings
what uwant
is it you ask ?
Sammy
04-26-2003, 02:58 AM
i don't know if there's something in maya easier than the mel script you can find at www.highend3d.com called simply, Measure Angle v1.0!
Bookmark this site - it's the best place to run to when you want to start moulding Maya into your own work habits!
simple script that you source from your script editor and create a protractor (linear nurbs curve)--- go into component mode and snap the CVs to the points whose angle you wish to measure - then in the GUI click on Measure angle. Presto!
-Sammy
jadamburke
04-26-2003, 04:48 AM
I'm just posting this so you'll know, its not any easier than going to highend3d and getting a script.
a vector in maya is in the form <<34.5,22.3,41.9>> X,Y,Z respectively. A vector is a line extending from the origin to this point in space. Two vectors define two lines that meet at the origin and the angle between them is what this function measures.
If you want to measure an angle from somewhere other than the world origin, (0,0,0) then you must offset the two vectors by subtracting your new origin.
If vector one is <<5,-9,7>> and vector two is <<-6,1,0>> and you want to measure the angle between them from a point in space at <<9,0,1>> then subtract <<9,0,1>> from the first two resulting in <<-4,-9,6>> and <<-15,1,-1>> and enter these into the function and you will get the correct angle between them.
tempelgarden
04-26-2003, 01:53 PM
thank you all for your help!
CGTalk Moderation
01-14-2006, 11:00 PM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.