I am new to scripting.
I found a script on a forum. It compiles data from a Rhino file and exports it to excel. I have used it successfully but altered the script to calculate the volume of a mesh.
I’m not sure what I’ve done wrong. The result of the mesh calculation is always 1. I’ve tried it on multiple files but it always returns 1 as the result. If I run the volume tool on the object within rhino, I get an accurate volume.
I’m attaching the script. Hopefully someone can help.
volumeproblem.txt (1.9 KB)