Volume calculator

 From:  dinos
7421.13 In reply to 7421.11 
Thanks Max! Really appreciated. :-)

I was looking for an efficient way calculate volume and hit upon this http://stackoverflow.com/questions/6518404/how-do-i-calculate-the-volume-of-an-object-stored-in-stl-files

Really nice ideas, BTW!
I think that using obj is a good solution and it can improve things a lot. Also, materials!

I'll be away from my computer until monday night, but in the meantime feel free to improve this script any way you like!
I really like the idea of the mini open source scripts that are created on this forum by 2 or more people. That was the case with the LightOptions script. It was Mike's idea and helped a lot during its development. Then you included it in your UI and it was improved once again.
Cool stuff.

Dinos