_BaseArc class method get_coordinate_from_distance does not work for all arcs. For some arcs, the wrong coordinate is returned.
π Steps to reproduce
Open the script attached and run.
The script draws and arc (arc_2) and a coordinate (coord_2).
The coordinate should be drawn 1E-15 units in the x-y plane away
test_arc_get_coordinate_from_distance.zip
from the end point of arc_2. (very close to the end of the arc).
Instead, the coordinate is added along the arc, as shown in the figure below:
an assert is also included to check that coord_2 is wrongly more than 1E-12 units away from the end coordinate.
π Before submitting the issue
π Description of the bug
_BaseArc class method get_coordinate_from_distance does not work for all arcs. For some arcs, the wrong coordinate is returned.
π Steps to reproduce
Open the script attached and run. The script draws and arc (arc_2) and a coordinate (coord_2). The coordinate should be drawn 1E-15 units in the x-y plane away test_arc_get_coordinate_from_distance.zip from the end point of arc_2. (very close to the end of the arc). Instead, the coordinate is added along the arc, as shown in the figure below: an assert is also included to check that coord_2 is wrongly more than 1E-12 units away from the end coordinate.
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
N/A
π Which Python version are you using?
3.10
π¦ Installed packages