I would like to thank you too for excellent feature.
Regarding units... Is it possible to add "unit conversion" when I click on unit label in same way as in MoI stanadard UI? Please see screenshot what I mean.
IMHO it would be quite handy to have system units as a default and click to conversion into cm3 for printing or dm3 for volume in litres or into m3 for instance, because typically wood material is offer in m3.
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...
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.
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...)
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.
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.