firetools / blenderfds

The open user interface for the NIST Fire Dynamics Simulator (FDS)
https://blenderfds.org
GNU General Public License v3.0
41 stars 10 forks source link

Cell Size in Different Units [Convenience] #39

Closed TristanHehnen closed 2 years ago

TristanHehnen commented 2 years ago

Dear Emanuele,

in the object properties tab of the MESH the cell size is shown. However, the numbers are only given up to milimeter precision. I assume that is well sufficient when working with large scale simulation setups like buildings. In my work I'm having simulation setups that are regularily in the cm scale where cells are in the mm range. Would it be possible to have the unit change for these numbers? Maybe it could be associated with the definition in the Units section of the scene properties tab. However, if BlenderFDS could adapt it automatically would be more convenient, I guess. For examples in situations where multiple meshes are used to create some local refinement.

For example, cell size here would be around 1.66 mm: grafik

Best, Tristan

emanuelegissi commented 2 years ago

You are right, this should be implemented. Let me think how to do that automatically.

emanuelegissi commented 2 years ago

I did not find any simple way of doing that automatically. So I added precision (significant decimal digits) configuration for all quantities to config.py Please, test it and tell me if this works for you.