Skip to content

Commit

Permalink
Update of Shaft and Propeller classes (minor fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggurioli committed Apr 15, 2021
1 parent 82f7da5 commit 412e85f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bladex/propeller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
"""
Expand Down
2 changes: 2 additions & 0 deletions bladex/shaft.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 412e85f

Please sign in to comment.