From 1b647ef725fbbd7667e90cb53dd3a0978e17f290 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Sun, 5 Jan 2020 19:25:17 +0100 Subject: [PATCH] FEM: material task panels, add some newlines on logs --- src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py | 2 +- .../Fem/femguiobjects/_ViewProviderFemMaterialReinforced.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py index dfebe22f35..e08ced283f 100644 --- a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py +++ b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py @@ -209,7 +209,7 @@ class _TaskPanelFemMaterial: # search for exact this mat_card in all known cards, choose the current material self.card_path = self.get_material_card(self.material) - FreeCAD.Console.PrintLog("card_path: {}".format(self.card_path)) + FreeCAD.Console.PrintLog("card_path: {}\n".format(self.card_path)) if not self.card_path: # we have not found our material in self.materials dict :-( # we're going to add a user-defined temporary material: a document material diff --git a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterialReinforced.py b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterialReinforced.py index 33f10d9094..a3555d6a5b 100644 --- a/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterialReinforced.py +++ b/src/Mod/Fem/femguiobjects/_ViewProviderFemMaterialReinforced.py @@ -176,7 +176,7 @@ class _TaskPanelFemMaterialReinforced: # search for exact the mat_card_m and mat_card_r in all known cards # choose the current matrix material self.card_path_m = self.get_material_card(self.material_m) - FreeCAD.Console.PrintLog("card_path: {}".format(self.card_path_m)) + FreeCAD.Console.PrintLog("card_path: {}\n".format(self.card_path_m)) if not self.card_path_m: # we have not found our material in self.materials dict :-( # we're going to add a user-defined temporary material: a document material @@ -207,7 +207,7 @@ class _TaskPanelFemMaterialReinforced: # choose the current reinforcement material self.card_path_r = self.get_material_card(self.material_r) - FreeCAD.Console.PrintLog("card_path: {}".format(self.card_path_r)) + FreeCAD.Console.PrintLog("card_path: {}\n".format(self.card_path_r)) if not self.card_path_r: # we have not found our material in self.materials dict :-( # we're going to add a user-defined temporary material: a document material