Volume calculation

Next
 From:  shayno
3746.1 
Hi Michael
Is there any way for Moi to calculate the volume of solids ? in cm3
So I can multiply by the alloys density to estimate weights when cast in precious metal.
cheers
shayne
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3746.2 In reply to 3746.1 
Hi Shayne, no there is not currently any way in MoI to get the volume, but it is definitely on my list of things that I want to add in for MoI v3.

For now though you will need to import your solid into a different CAD program to do the volume calculation, one inexpensive option for this is ViaCAD (http://www.punchcad.com/products/viacad2d3d.htm) which is $99.

Rhino also makes a good companion to MoI and you can copy/paste your object between MoI and Rhino to do the volume calculation in Rhino.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  shayno
3746.3 In reply to 3746.2 
Michael
I found if I download the trial of rhino I can use the calculation as long as I don't use up the 24 saves
thanks
shayne
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Colin
3746.4 In reply to 3746.3 
Hi Shayne,

Here's a FREE Mass Calculator Plug-in for Rhino that works quite well.

http://www.rhino3d.e-cnc.com/masscalc/masscalc.htm

It has a good selection of the various Precious Metal Alloys we use & even some we don't. ;)
Just be aware that your model or items for calculation need to be a solid.

HTH, Colin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  shayno
3746.5 In reply to 3746.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Colin
3746.6 In reply to 3746.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

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  yakas
3746.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3746.8 In reply to 3746.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  yakas
3746.9 In reply to 3746.8 
No problem, Thanks
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  chrisd (CHRIS_DORDONI)
3746.10 In reply to 3746.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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  roj (ROJHARRIS)
3746.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
3746.12 In reply to 3746.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

EDITED: 5 Oct 2014 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Ronamodeler (RON_A)
3746.13 
Download the evaluation version of Rhino. It has a built-in volume analysis tool; which should not be affected by the time limits.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  shayno
3746.14 
Minimagics 2.0 by materialise is an stl checker that will give the volume and is free.
cheers
shayne
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
3746.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.
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3746.16 In reply to 3746.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
3746.17 In reply to 3746.16 
Hi Michael,

the file attached to my previous message. Curve Isect generates 14 points.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3746.18 In reply to 3746.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:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Metin Seven (SEVENSHEAVEN)
3746.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.

———————

metinseven.com — 3D (print) modeling • animation • artwork • design • illustration • visualization

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All