FreeCAD: master 957f7237

Author Committer Branch Timestamp Parent
Przemo Firszt wmayer master 2015-04-20 22:23:52 master 13b8d323
Changeset FEM: Make sure .inp doesn't contain force values that crash ccx

ccx crashes when a force has too many digits like this:
FemConstraintForce,2,1.5966711853290134e-18
but it's OK with that format:
FemConstraintForce,2,1.5966711853e-18

An example of ccx error:
*ERROR reading *CLOAD. Card image:
FEMCONSTRAINTFORCE,3,1.5966711853290134E-18

This commits adds formatting to make sure the numbers are within ccx
limits.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
mod - src/Mod/Fem/MechanicalAnalysis.py Diff File