MoI discussion forum
MoI discussion forum

Full Version: Volume calculator

Show messages:  1-7  8-27  28-47  48-67  68-76

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
From: Martin (MARTIN3D)
12 Sep 2015   [#56]
Thanks Dino and Max for this useful script.

I have a small improvement request: In the default MoI user interface some contents of the dialog window is too wide.



-Martin

Image Attachments:
Screen Shot 2015-09-12 at 1.54.42 pm.png 


From: Max Smirnov (SMIRNOV)
12 Sep 2015   [#57] In reply to [#56]
Hi Martin,

I didn't noticed any problem with the script interface. But it seems like you are using Windows UI scaling feature. I'll make some chаnges in the script to fix it. Wait for the next version.
From: Martin (MARTIN3D)
12 Sep 2015   [#58] In reply to [#57]
Hi Max,

it's on my Laptop and Desktop computer both running OS X. I'm not aware of any window scaling.
From: Finema
13 Sep 2015   [#59] In reply to [#58]
Hi,
It's the same for me on OS X.
From: David (BLEND3D)
13 Sep 2015   [#60]
Hi Max,

Your script is amazing, I have wanted this feature since MoI's beta.

Concerning the display cutoff; I am experiencing this as well. I'm not scaling and my display is 1920 x 1080 in Windows 10.

Again though I am so happy to have the script, thanks for all your hard work in this area!

David W. (Aka: blend3d)
From: Max Smirnov (SMIRNOV)
21 Sep 2015   [#61]
CVolume v2.0 beta 1
Completly rewritten :)
Added:
- Center of mass calculation for solids of different densities. ( style = material )

Fixed:
- Interface width

Hidden features:
- Double click on title to reset group volume
- Double click on group name to switch to the first group (All objects)
- You can use material name as style name (full or partial). The script will set density automatically. For example: "Copper", "Wooden box [Redwood]", "Golden ring"

To do:
- Interface tuning
- Volume/Mass changing for All objects group.

upd: bug fixed. reuploaded.
From: Max Smirnov (SMIRNOV)
21 Sep 2015   [#62]
more bugs fixed (and added)
added hotkeys (right arrow / left arrow)
From: Mik (MIKULAS)
22 Sep 2015   [#63] In reply to [#62]
Hi Max,

it works perfectly.

Cпасибо.

Mik
From: Max Smirnov (SMIRNOV)
22 Sep 2015   [#64]
CVolume v2.0 beta 3

- some interface changes
- improved volume/mass/surface area ajustment (now in works with all objects)
- hidden: double click on Density title -> copies material name to style name
From: Mik (MIKULAS)
23 Sep 2015   [#65] In reply to [#64]
Hi Max,

some error appears repeatedly during opening of ZIP file.

Mik
From: Max Smirnov (SMIRNOV)
23 Sep 2015   [#66] In reply to [#65]
Hi Mik,

I accidentally made 7z archive with .zip extension :)
Fixed. Download it again.
From: Mik (MIKULAS)
23 Sep 2015   [#67] In reply to [#66]
Hi Max,

now it works perfectly!
Copying of material name to style name is beautiful feature.

Do you plan in future to allow adding of custom materials inside script UI?
For example PCB, which contains mechanically many of components with different materials, can be modelled as an one solid for simplification of assemble. For calculation of Centre of Mass of all assemble it should be enough to set only weight of PCB, script can calculate volume of solid and from calculated volume and known weight it can be calculated density.

Probably it will be enough to allow (checkbox) recalculate density in stead of volume when mass is changed and copy as a custom material ( "Object name" for example) to style name.

Thank you for excellent script!

Mik

Show messages:  1-7  8-27  28-47  48-67  68-76