Hi Max,
I really love what you've done to the volume script :-)
Just one request:
in my original version i was converting cubic mm to cubic cm as this is a lot more meaningful, especially when dealing with 3D printing.
Can you add that feature back? As far as i know no one deals with cubic mm..
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...)