Edge Length

Edge Length

Here’s an edge length script that will return the values of an edge(s) in metres and millimetres to the status line. Of course feel free to edit the MEL yourself to add in your own conversions as I’m too lazy to add in the imperial system!

The nice thing about this over other edge scripts is that it will round the decimals to 2 places making things a little cleaner – however to do this you will need both scripts in your Maya folder for it to work.


Download

Credits to Duncan Brinsmead for the roundoff procedure.

Comments

Fausto

Hi, is possible print result on new window???
Thanks for script.

p.s. sorry my english is very bad!!!

Mayzie

I’m not sure exactly what you mean by “New Window”.

I’ve slightly updated this script anyway since you’ve posted. It’s slightly easier to read now.

Fausto

Thank you for your reply. I added and modified this code, I hope you like it.

link: http://www.faustosciallis.com/script_mel/edgeLength.rar

Mayzie

Ah I see, thank you for sharing this!

Feedback