MoI discussion forum
MoI discussion forum

Full Version: Volume calculation

Show messages: All  1-4  5-19

From: shayno
1 Sep 2010   [#5] In reply to [#4]
Excellent Thanks Colin I will give it a crack
The metal company that does my casting has tables for the metal weights also.
So the volume calculation from Rhino at say 335 mm3 x .0164 for 18ct yellow gold = 5.49grams which is pretty accurate
cheers
shayne
From: Colin
1 Sep 2010   [#6] In reply to [#5]
Hi Shayne,

No probs, glad to be of help.
Also if you do decide to use that FREE Plug-in, then note that their instructions for installing it are a bit off.
I'm no expert, but after a bit of playing around I finally got it to work correctly with Rhino4.
Here's a copy of the instructions I'd made for someone else when they also needed to install it.

HTH, Colin

Attachments:
Mass Calculator Info.zip


From: yakas
28 Sep 2014   [#7]
Hi Micheal, your reply to in this thread mentions volume calcs as something V3 might include. Was this feature added in the new release?

Thanks
From: Michael Gibson
28 Sep 2014   [#8] In reply to [#7]
Hi yakas, sorry no volume calculations did not make it into the v3 release. It just hasn't been asked for as frequently as other things and so it never got prioritized.

Should be likely to be in v4 though I would guess.

- Michael
From: yakas
28 Sep 2014   [#9] In reply to [#8]
No problem, Thanks
From: chrisd (CHRIS_DORDONI)
28 Sep 2014   [#10] In reply to [#9]
netfabb Basic is free, and will give you the volume of STL files. It can also do some basic repairs, so its a good tool to have if you do 3d printing as well.
From: roj (ROJHARRIS)
5 Oct 2014   [#11]
This is the one feature that means I have to leave MOI and go into other packages. As I am building bottles for the drinks industry volume calculation is a must have. Sadly this means I have to build a bit, export, check volume in form.Z, come back to MOI, edit size, repeat over and over until volume is correct. (Tolerances are very tight and the volume of a whisky/wine bottle much be spot on).
I can only dream of the day I can do the whole thing in MOI as its so much faster to work in than anything else.
I've been hoping and praying for this since version 1... Oh Well, perhaps Max will write a script...

Roger
From: bemfarmer
5 Oct 2014   [#12] In reply to [#11]
I posted a reference to a paper on calculating the volume of Nurbs objects a while back. So it is possible...
The Nurbs integral calculus mathematics was difficult, or pretty nearly incomprehensible, :-) and the Nurbs formulas get manipulated,
which I think only Michael could do? (I suppose some sort of cross section estimation could be made.)

- Brian

( The old link was bad, here is another link:)
http://www.me.berkeley.edu/~mcmains/pubs/SPM2010KrishnamurthyMcMains.pdf
From: Ronamodeler (RON_A)
5 Oct 2014   [#13]
Download the evaluation version of Rhino. It has a built-in volume analysis tool; which should not be affected by the time limits.
From: shayno
5 Oct 2014   [#14]
Minimagics 2.0 by materialise is an stl checker that will give the volume and is free.
cheers
shayne
From: Max Smirnov (SMIRNOV)
6 Oct 2014   [#15]
I think there is no need to write a script for exact calculation of volume.
99% accuracy should be enough. I can write such a script very easily.
I have checked two methods today, but I found that some moi functions doesn't work as I need.


Here is the issues:
1. Boolean Isect doesn't work with solid and line.
2. Curve Isect generates many wrong points of intersections in some cases.

The last way which I can use is Trim function.. I'll check it.
From: Michael Gibson
6 Oct 2014   [#16] In reply to [#15]
Hi Max,

> 1. Boolean Isect doesn't work with solid and line.

It seems to work over here but probably does not do what you need - the way the booleans work with curves interacting with solids is that the curve is extruded out into a surface and then it's that extrusion that interacts with the original solid.


> 2. Curve Isect generates many wrong points of intersections in some cases.

Can you post a 3DM file? I tried a box with diagonal line like you've got there and I got 2 points.

- Michael
From: Max Smirnov (SMIRNOV)
6 Oct 2014   [#17] In reply to [#16]
Hi Michael,

the file attached to my previous message. Curve Isect generates 14 points.
From: Michael Gibson
6 Oct 2014   [#18] In reply to [#17]
Hi Max, sorry I must have missed the attachment.

I'm not sure why there is no result from boolean intersection there, but even if it did work it would work as it does in the attached version.


re: 14 points - sorry I didn't notice there were so many points stacked up when I tried it. It's likely to be coming from multiple pieces of the solid's topology all intersecting the line there, probably results from 3 faces, 3 edges and 1 vertex all intersecting the line right there. The geometry library function that is being called for the intersection seems to return all those results and that's what gets generated currently. In v4 I should be able to filter results like that to weed out duplicates.

- Michael

Attachments:
issues2.3dm


From: Metin Seven (SEVENSHEAVEN)
7 Oct 2014   [#19]
Volume calculation in MoI would be great. I create a lot of stuff for 3D printing, and now have to export a mesh to Blender 3D first, to measure its volume using the 3D Print Toolkit add-on.

Show messages: All  1-4  5-19