From 0a25f7fd58e282f046b438b1fd9e5aefeb1228d2 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 31 Dec 2018 14:56:03 -0600 Subject: [PATCH] FEM: source comment typo fixes --- src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py | 2 +- src/Mod/Fem/femtools/ccxtools.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py index 3c89fe9f63..0eb751f835 100644 --- a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py +++ b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py @@ -165,7 +165,7 @@ class _TaskPanelFemMaterial: self.choose_material(index) # fill input fields and set the current material in the cb widget else: # we found our exact material in self.materials dict :-) - FreeCAD.Console.PrintMessage("Previously used material card was found in material directories. We gone use this material.\n") + FreeCAD.Console.PrintMessage("Previously used material card was found in material directories. We will use this material.\n") index = self.parameterWidget.cb_materials.findData(self.card_path) # print(index) self.choose_material(index) # fill input fields and set the current material in the cb widget diff --git a/src/Mod/Fem/femtools/ccxtools.py b/src/Mod/Fem/femtools/ccxtools.py index 6e429a79d5..6193d6826a 100644 --- a/src/Mod/Fem/femtools/ccxtools.py +++ b/src/Mod/Fem/femtools/ccxtools.py @@ -187,8 +187,8 @@ class FemToolsCcx(QtCore.QRunnable, QtCore.QObject): found_solver_for_use = False for m in self.analysis.Group: if femutils.is_of_type(m, "Fem::FemSolverCalculixCcxTools"): - # we gone check for exlicit for the ccx tools solver type only, - # thus it is possible to have lots of frame work solver inside the analysis anyway + # we are going to explicitly check for the ccx tools solver type only, + # thus it is possible to have lots of framework solvers inside the analysis anyway # for some methods no solver is needed (purge_results) --> solver could be none # analysis has one solver and no solver was set --> use the one solver # analysis has more than one solver and no solver was set --> use solver none @@ -201,7 +201,7 @@ class FemToolsCcx(QtCore.QRunnable, QtCore.QObject): self.solver = None # another solver was found --> We have more than one solver # we do not know which one to use, so we use none ! - # FreeCAD.Console.PrintMessage('FEM: More than one solver in the analysis and no solver given to analys. No solver is set!\n') + # FreeCAD.Console.PrintMessage('FEM: More than one solver in the analysis and no solver given to analyze. No solver is set!\n') elif m.isDerivedFrom("Fem::FemMeshObject"): if not self.mesh: self.mesh = m