MoI discussion forum
MoI discussion forum

Full Version: Volume calculator

Show messages:  1-15  16-35  36-55  56-75  76

From: Moier (STARDUST)
3 Jun 2015   [#36] In reply to [#2]
Hi Moi'ers

Thanks for all great tips!
Much appreciated :)

/Stardust
From: dsicart
28 Aug 2015   [#37]
Hi all!
First message here at forum although I've red and learned a lot from it.
First of all, congratulation to Michael for this amazing software and also Max & Co for great add-ons and scripts.

Now the reason which I finally decided to register and post :-)
Would be possible to add to this script a checkbox or something to locate (by creating a cross or a point) the solid center masses? Always considering the solid as homogeneous of course...

Best regards!
D.
From: Michael Gibson
28 Aug 2015   [#38] In reply to [#37]
Hi dsicart, I'm glad you are liking MoI!

Just in case nobody is able to modify the script as you are asking for, your next best be would be to use the trial version of Rhino - load your 3DM file into there and then select it and run Rhino's Analyze > Mass properties > "Volume centroid" command. The centroid point will be printed on the command line and you can select it and use Ctrl+C to copy the text to the clipboard.

Another helper program that could be useful for this is ViaCAD 2D/3D which is not expensive and has some various tools in it like this that MoI does not have quite yet.

- Michael
From: Max Smirnov (SMIRNOV)
28 Aug 2015   [#39] In reply to [#37]
dsicart
>>Would be possible to add to this script a checkbox or something to locate (by creating a cross or a point) the solid center masses?

I think it's possible.
From: Max Smirnov (SMIRNOV)
28 Aug 2015   [#40] In reply to [#39]
v.1.2.2015.08.29

[Added] Center of mass calculation (I hope it works :)
[Added] Surface area parameter
From: dsicart
31 Aug 2015   [#41] In reply to [#40]
Thanks Max!
It will be really useful!

Best regards from Barcelona.

Image Attachments:
CVolume_test.jpg 


From: Mik (MIKULAS)
9 Sep 2015   [#42]
Hi Max,

Is it possible to calculate surface area of selected faces only?

Thanks.

Mik
From: Max Smirnov (SMIRNOV)
9 Sep 2015   [#43] In reply to [#42]
Hi Mik, good idea! I'll make it today or tomorrow.
From: Michael T. (MICTU_UTCIM)
9 Sep 2015   [#44]
Thanks again Max! This is fantastic!




Michael T.

Image Attachments:
150909_0948.jpg 


From: Marbleman
9 Sep 2015   [#45]
Hi Max,

This is a great tool, thank you.

I think this is a big ask, but would it be possible for 2 or more solids of different densities to have its combined centre of Gravity worked out?

James E
From: Mik (MIKULAS)
9 Sep 2015   [#46] In reply to [#43]
Thank you very much , Max, it would be great.

Mik
From: bemfarmer
9 Sep 2015   [#47] In reply to [#45]
The equation to find combined centre of Gravity, is explained very well here:

https://www.youtube.com/watch?v=KMDY-hexpZ8

mass1 = vol1 * density1 , centered at point mass m1.
mass2 = vol2 * density2 , centered at point mass m2.
d = distance between (center of mass of m1) and (center of mass of m2).
x = distance from (center of mass of m1) to the point on the line between m1 and m2, which is the combined centre of Gravity.
m1 * x = m2(d-x)


x = (m2 * d ) / (m1 + m2)

- Brian

They say is the "same" for torque. (No inverse square law needed.)
(x is not necessarily the x-axis), so x,y,z coordinates of the points may be used, or a cplane making d along the x axis...)
From: Max Smirnov (SMIRNOV)
11 Sep 2015   [#48]
CVolume v1.3
[added] enhanced surface mode. How you can use this script with faces and separate surfaces.

Marbleman
>>I think this is a big ask, but would it be possible for 2 or more solids of different densities to have its combined centre of Gravity worked out?
Hi James. Yes, this is possible, but I need to think about concept. Give me a week.
From: Mik (MIKULAS)
11 Sep 2015   [#49] In reply to [#48]
Excellent Max,

thank you very much, you are King of Scripts :-)

Regarding centre of gravity ... it will be fine to have set of styles which represents certain material = density.

Kind regards,

Mik
From: Max Smirnov (SMIRNOV)
11 Sep 2015   [#50] In reply to [#49]
Mik
>>Regarding centre of gravity ... it will be fine to have set of styles which represents certain material = density.
Yes, I have the same thoughts.
In fact the technical part don't bother me. There are pretty simple calculations. First I need to think about global internal structural changes. It is much more difficult task.
From: Mik (MIKULAS)
11 Sep 2015   [#51]
Yes, of course, choosing the best concept is always big task and calculation of CoG will be very useful feature for modelling of complex assemblies.

Kind regards,

Mik
From: Frenchy Pilou (PILOU)
11 Sep 2015   [#52]
Do you confirm or not that Center of Mass can be calculated between 2, 3, or more volumes in the same time inside the present plugin? (same density)
From: Max Smirnov (SMIRNOV)
11 Sep 2015   [#53] In reply to [#52]
Hi Pilou,
Yes, I confirm it. :-) 2, 3 and more.
From: Frenchy Pilou (PILOU)
11 Sep 2015   [#54] In reply to [#53]
Terrific!
From: Marbleman
11 Sep 2015   [#55]
Thanks Max,

I think you're the master!

James E

Show messages:  1-15  16-35  36-55  56-75  76