From ffe86c85e8061546a3fbaa598993d8e1be2b0de2 Mon Sep 17 00:00:00 2001 From: lorenz Date: Wed, 17 Feb 2021 13:40:45 +0100 Subject: [PATCH] Warnung -> PrintWarning --- freecad/gears/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freecad/gears/features.py b/freecad/gears/features.py index 418e45c..dd2c4d9 100644 --- a/freecad/gears/features.py +++ b/freecad/gears/features.py @@ -921,7 +921,7 @@ class LanternGear(BaseGear): import scipy.optimize phi_min = scipy.optimize.root(find_phi_min, (phi_max + r_r / r_0 * 4) / 5).x[0] # , r_r / r_0, phi_max) except ImportError: - App.Console.Warning("scipy not available. Can't compute numerical root. Leads to a wrong bolt-radius") + App.Console.PrintWarning("scipy not available. Can't compute numerical root. Leads to a wrong bolt-radius") phi_min = r_r / r_0 # phi_min = 0 # r_r / r_0