Skip to content

Commit

Permalink
MAINT: make base_radius last add_nose argument to avoid breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
giovaniceotto committed Feb 14, 2024
1 parent 6781945 commit c63cb14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rocketpy/rocket/rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ def add_tail(
return tail

def add_nose(
self, length, kind, position, bluffness=0, base_radius=None, name="Nose Cone"
self, length, kind, position, bluffness=0, name="Nose Cone", base_radius=None
):
"""Creates a nose cone, storing its parameters as part of the
aerodynamic_surfaces list. Its parameters are the axial position
Expand All @@ -898,10 +898,10 @@ def add_nose(
bluffness : float, optional
Ratio between the radius of the circle on the tip of the ogive and
the radius of the base of the ogive.
base_radius : int, float, optional
Nose cone base radius in meters. If not given, use rocket radius.
name : string
Nose cone name. Default is "Nose Cone".
base_radius : int, float, optional
Nose cone base radius in meters. If not given, use rocket radius.
See Also
--------
Expand Down

0 comments on commit c63cb14

Please sign in to comment.