From 412e85fed46020deb5bf567d98896554c0ffa2e5 Mon Sep 17 00:00:00 2001 From: Gianmarco Gurioli Date: Thu, 15 Apr 2021 20:10:56 +0200 Subject: [PATCH] Update of Shaft and Propeller classes (minor fix) --- bladex/propeller.py | 6 +++--- bladex/shaft.py | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bladex/propeller.py b/bladex/propeller.py index 5bb6ad0..8a33e04 100755 --- a/bladex/propeller.py +++ b/bladex/propeller.py @@ -19,9 +19,9 @@ class Propeller(object): :param shaft.Shaft shaft: shaft to be added to the propeller :param blade.Blade blade: blade of the propeller - :param int n_blades: number of blades componing the propeller + :param int n_blades: number of blades composing the propeller :cvar OCC.Core.TopoDS.TopoDS_Solid shaft_solid: solid shaft - :cvar OCC.Core.TopoDS.TopoDS_Shell: propeller with shaft shell + :cvar OCC.Core.TopoDS.TopoDS_Shell sewed_full_body: propeller with shaft shell """ def __init__(self, shaft, blade, n_blades): @@ -70,7 +70,7 @@ def generate_stl(self, filename): Export the .stl CAD for the propeller with shaft. :param string filename: path (with the file extension) where to store - the .stl CAD for the propeller and shaft + the .stl CAD for the propeller and shaft :raises RuntimeError: if the solid assembling of blades is not completed successfully """ diff --git a/bladex/shaft.py b/bladex/shaft.py index 5042f40..795d06f 100755 --- a/bladex/shaft.py +++ b/bladex/shaft.py @@ -8,6 +8,8 @@ class Shaft(object): """ Bottom-up parametrized shaft construction. + :param string filename: path (with the file extension) of a .iges file with + stored shaft information. :cvar string filename: path (with the file extension) of a .iges file with stored shaft information. """