MoI discussion forum
MoI discussion forum

Full Version: Volume calculator

Show messages:  1-2  3-22  23-42  43-62  63-76

From: ed (EDDYF)
31 May 2015   [#23]
Excellent Max.

I don't know how far you want to take this, but if you had the option to input the cost per unit of the material, the script could display the value of the object. Great for jewelers or folks who have their design 3D printed in metal.

Or pull the material cost in from an XML file, if such a file exists in the folder. Possibilities here for the user to update their material cost XML file off the web, using a script outside MoI of course, to pull in the current price of precious metals.

Taking a step further, associate the material cost XML file with a MoI style. Assign a "silver" Style to a ring, you get the material cost if it's cast in silver (not including waste of course). Assign a "18k gold" Style to a ring, you get the material cost if it's cast in gold.

Just some far out ideas ...

Ed Ferguson
From: Frenchy Pilou (PILOU)
31 May 2015   [#24]
Aaaaaaaaah! What a such list to translate! :)

PS I have put _cvolume 0 : that gives the good result with 2 decimal! 1688, 42 (takes just 26 seconds on my computer ;)
The other values goes very more speedy! :)
_cvolume 2 1688, 34 in 3 seconds
_cvolume 3 1688, 22 in 2 seconds
_cvolume 4 1688, 06 in 1 second
_cvolume 5 1687, 84 in 0 second

_Cvolume Alone is like _cvolume 3 : 1688, 22 in 2 seconds
From: hep
1 Jun 2015   [#25]
very nice touch :-)
From: grandpi (PIERREARCHI)
1 Jun 2015   [#26] In reply to [#25]
Great plugin !!!
Thanks a lot. Wait for it for a while ...
Pierre.
From: Max Smirnov (SMIRNOV)
1 Jun 2015   [#27]
Version 1.0

Improved interface.
Added mass and volume adjustments. Great feature! I like it :)

Click to "Volume" label -> Copy volume value to clipboard
Click to "Mass" label -> Copy mass value to clipboard
Double click to "Volume/Mass Calc." label -> Restore original volume
From: dinos
1 Jun 2015   [#28] In reply to [#27]
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..

Other than that, excellent work :-)

Dinos
From: Max Smirnov (SMIRNOV)
1 Jun 2015   [#29] In reply to [#28]
Hi Dinos
Sorry, forgot about this :)
Fixed
From: dinos
1 Jun 2015   [#30] In reply to [#29]
Thanks Max!

Dinos
From: BurrMan
1 Jun 2015   [#31] In reply to [#27]
"""""""""I add tool for a model resizing by adjusting mass or volume.

Double click to "Volume/Mass Calc." label -> Restore original volume """"""""""""""""""""""

Very cool Max... :)


From: Frenchy Pilou (PILOU)
1 Jun 2015   [#32]
Cool
French version in a second :)
http://moiscript.weebly.com/calculateur-de-volume.html


From: grandpi (PIERREARCHI)
2 Jun 2015   [#33] In reply to [#32]
Merci Pilou.
From: Mik (MIKULAS)
2 Jun 2015   [#34] In reply to [#29]
Hi Max and Dinos,

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.

Mik

Image Attachments:
Unit conversion.jpg 


From: DannyT (DANTAS)
2 Jun 2015   [#35] In reply to [#29]
Thanks Max, very handy.

Cheers
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

Show messages:  1-2  3-22  23-42  43-62  63-76