run the attached script which creates an arc for which this bug occurs.
Define a line and an arc based on start and end coordinate and a radius (45 units)
calculate the line length.
calculate the arc length.
The arc MUST be longer than the line, because they have the same start and end point.
However an incorrect (shorter) arc length is returned by the function.
The correct arc length can be calculated from the radius and arc totalangle.
π Before submitting the issue
π Description of the bug
length calculation for some arcs is incorrect.
π Steps to reproduce
run the attached script which creates an arc for which this bug occurs. Define a line and an arc based on start and end coordinate and a radius (45 units) calculate the line length. calculate the arc length. The arc MUST be longer than the line, because they have the same start and end point. However an incorrect (shorter) arc length is returned by the function. The correct arc length can be calculated from the radius and arc totalangle.
π» 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