From 281456585065b74eac5086ec857646e2156df664 Mon Sep 17 00:00:00 2001 From: Jose Luis Cercos Pita Date: Wed, 20 Jan 2016 11:52:36 +0100 Subject: [PATCH] Cleared out some debug messages --- src/Mod/Ship/shipGZ/Tools.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Mod/Ship/shipGZ/Tools.py b/src/Mod/Ship/shipGZ/Tools.py index ecb6d6313..2c4a056db 100644 --- a/src/Mod/Ship/shipGZ/Tools.py +++ b/src/Mod/Ship/shipGZ/Tools.py @@ -133,10 +133,7 @@ def solve_point(W, COG, TW, ship, tanks, roll, var_trim=True): App.Console.PrintMessage("draft and trim: {}, {}\n".format(draft, trim)) - App.Console.PrintMessage(R) - App.Console.PrintMessage("\n") + # GZ should be provided in the Free surface oriented frame of reference c = math.cos(math.radians(roll)) s = math.sin(math.radians(roll)) - App.Console.PrintMessage(c * R.y - s * R.z) - App.Console.PrintMessage("\n") return c * R.y - s * R.z \ No newline at end of file