FEM: add modules to migrate old FEM app and gui objects

This commit is contained in:
Bernd Hahnebach
2020-05-16 07:39:06 +02:00
parent bb0d9435f1
commit ac8ffcb9f4
5 changed files with 649 additions and 0 deletions

View File

@@ -40,8 +40,16 @@ __author__ = "Juergen Riegel, Bernd Hahnebach"
__url__ = "http://www.freecadweb.org"
# imports to get flake8 quired
import sys
import FreeCAD
# needed imports
from femtools.migrate_app import FemMigrateApp
# migrate old FEM App objects
sys.meta_path.append(FemMigrateApp())
# add FEM unit tests
FreeCAD.__unit_test__ += ["TestFem"]