FEM: import tools, move stats calculation into result tools

This commit is contained in:
Bernd Hahnebach
2019-01-29 23:51:24 +01:00
committed by Yorik van Havre
parent 3cb8bdf825
commit 1f20da40b7
4 changed files with 91 additions and 92 deletions

View File

@@ -62,7 +62,7 @@ class _FemResultMechanical():
obj.addProperty("App::PropertyFloatList", "UserDefined", "NodeData", "User Defined Results", True)
obj.addProperty("App::PropertyFloatList", "Temperature", "NodeData", "Temperature field", True)
# initialize the Stats with the appropriate count of items (see fill_femresult_stats in feminout/importToolsFem.py)
# initialize the Stats with the appropriate count of items (see fill_femresult_stats in femresult/resulttools.py)
zero_list = 39 * [0]
obj.Stats = zero_list