From 53ef53e0c845021a3bb882220a059f23a487d707 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Thu, 8 Aug 2019 13:29:29 -0500 Subject: [PATCH] Draft: WorkingPlane, Pythonic style, improved the docstring --- src/Mod/Draft/WorkingPlane.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Mod/Draft/WorkingPlane.py b/src/Mod/Draft/WorkingPlane.py index f4f298f840..72f2540900 100644 --- a/src/Mod/Draft/WorkingPlane.py +++ b/src/Mod/Draft/WorkingPlane.py @@ -752,6 +752,13 @@ class plane: return p def getNormal(self): + """Return the normal vector of the plane (axis). + + Returns + ------- + Base::Vector3 + The `axis` attribute of the plane. + """ n = self.axis # Arch active container if based on App Part #if FreeCAD.GuiUp: