Skip to content

Commit

Permalink
Rename argument 'major_raidus' as 'major_radius'. (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxJPRey authored Dec 21, 2021
1 parent a90fd52 commit 0807ad4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyaedt/modeler/Primitives3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def create_circle(self, cs_plane, position, radius, numSides=0, is_covered=True,
return self._create_object(new_object_name)

@aedt_exception_handler
def create_ellipse(self, cs_plane, position, major_raidus, ratio, is_covered=True, name=None, matname=None):
def create_ellipse(self, cs_plane, position, major_radius, ratio, is_covered=True, name=None, matname=None):
"""Create an ellipse.
Parameters
Expand All @@ -572,7 +572,7 @@ def create_ellipse(self, cs_plane, position, major_raidus, ratio, is_covered=Tru
:class:`pyaedt.constants.PLANE` Enumerator can be used as input.
position : list
List of ``[x, y, z]`` coordinates for the center point of the ellipse.
major_raidus : float
major_radius : float
Base radius of the ellipse.
ratio : float
Aspect ratio of the secondary radius to the base radius.
Expand Down Expand Up @@ -601,7 +601,7 @@ def create_ellipse(self, cs_plane, position, major_raidus, ratio, is_covered=Tru
szAxis = GeometryOperators.cs_plane_to_axis_str(cs_plane)
XStart, YStart, ZStart = self._pos_with_arg(position)

MajorRadius = self._arg_with_dim(major_raidus)
MajorRadius = self._arg_with_dim(major_radius)
Ratio = self._arg_with_dim(ratio)

vArg1 = ["NAME:EllipseParameters"]
Expand Down

0 comments on commit 0807ad4

Please sign in to comment.