Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5745

Rhino.MeshVolume

$
0
0

@J11 wrote:

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.

Thanks,
J

volumeproblem.txt (1.9 KB)

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles