Skip to content

Commit

Permalink
WIP: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Jan 11, 2025
1 parent 7b2538f commit a925f54
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/ansys/aedt/core/modeler/cad/primitives_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,14 +769,16 @@ def create_rectangle(self, orientation, origin, sizes, name=None, material=None,
width = self._arg_with_dim(sizes[0])
height = self._arg_with_dim(sizes[1])

Check warning on line 770 in src/ansys/aedt/core/modeler/cad/primitives_3d.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/aedt/core/modeler/cad/primitives_3d.py#L767-L770

Added lines #L767 - L770 were not covered by tests

arg_1 = ["NAME:RectangleParameters"
"IsCovered:=", is_covered,
"XStart:=", x_start,
"YStart:=", y_start,
"ZStart:=", z_start,
"Width:=", width,
"Height:=", height,
"WhichAxis:=", axis]
arg_1 = [

Check warning on line 772 in src/ansys/aedt/core/modeler/cad/primitives_3d.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/aedt/core/modeler/cad/primitives_3d.py#L772

Added line #L772 was not covered by tests
"NAME:RectangleParameters",
"IsCovered:=", is_covered,
"XStart:=", x_start,
"YStart:=", y_start,
"ZStart:=", z_start,
"Width:=", width,
"Height:=", height,
"WhichAxis:=", axis
]
arg_2 = self._default_object_attributes(name=name, material=material)
new_object_name = self.oeditor.CreateRectangle(arg_1, arg_2)

Check warning on line 783 in src/ansys/aedt/core/modeler/cad/primitives_3d.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/aedt/core/modeler/cad/primitives_3d.py#L782-L783

Added lines #L782 - L783 were not covered by tests
return self._create_object(new_object_name, **kwargs)
Expand Down

0 comments on commit a925f54

Please sign in to comment.