PashavanBijlert / MuSkeMo

Build and visualize musculoskeletal models in Blender
2 stars 0 forks source link

Should exporting csv files give a warning if more than 7 digits of decimal precision (significant digits) is attempted? #24

Closed PashavanBijlert closed 2 months ago

PashavanBijlert commented 3 months ago

While the blender python API uses double-precision (since that is the python default), blender itself stores 3D position data as single-precision digits (32 bits), so anything beyond 7-9 digits is placebo precision. Thus max precision that can be expected is 7 - 9 digits, with the smallest normal (i.e., 8 sig dig) number that can be represented being in the order of 1e-38.

PashavanBijlert commented 2 months ago

The documentation now explicitly mentions the limitations of single-precision floating point numbers.