PDA

View Full Version : distance between points?


stefanosoik
07-20-2006, 10:56 AM
this might be a noobie question.... :)

Where can i see the distance between to points? I am actually looking for a ruler.

JDex
07-20-2006, 11:28 AM
There's a handy script in the netview called tape measure, or something like that.

Tak Tak
07-20-2006, 11:51 AM
You can use skeleton as ruler and just snap with snap tool.

stefanosoik
07-20-2006, 11:53 AM
thanks jdex it works perfect and is called "summed distance". But one more question..

Do i have to run it from the netview every time i want to use it? because i can locate it only on the XSI NET and i am not always online. Is it possible to place it into XSI Local or even install it some how?

Tak Tak
07-20-2006, 12:12 PM
Just create toolbox and drag and drop summed distance script from Netview to toolbox.

misterdi
07-20-2006, 12:27 PM
thanks jdex it works perfect and is called "summed distance". But one more question..

Do i have to run it from the netview every time i want to use it? because i can locate it only on the XSI NET and i am not always online. Is it possible to place it into XSI Local or even install it some how?

You can grab it from the netview database, it's under %inst_dir%\Data\NetView_Database\L04_body\content\mcp_ui\info\summed_distance folder

It's a VBscript written by Michael Isner.

You can then drag n drop to your custom toolbar or custom shelf for easy access.

What the script does is :
Start a pick position session, to let you pick position in space,
calculate the distance as sqrt(x * x + y * y + z * z)
where x is (x pick - x lastpick), y is (y pick - y lastpick) and z is (z pick - z lastpick)
And sum the result to previous sum.
Until you end picking session by hitting RMB and output the result using msgbox command.

Regards,

misterdi
07-20-2006, 12:28 PM
Ooops, sorry.

Tak Tak has pointed it out earlier.

Regards,

stefanosoik
07-20-2006, 02:10 PM
thanks guys.. all of you :p

CGTalk Moderation
07-20-2006, 02:10 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.