-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rounded Line generates warning, displays incorrectly #1102
Comments
PinkMushroom
changed the title
Rounded Line generates warning displays incorrectly
Rounded Line generates warning, displays incorrectly
Apr 23, 2024
Thanks @PinkMushroom feel free to make PR to fix the issue the way you think it's best! |
Done. @marcomusy . I sure hope it worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
python3.10/site-packages/vedo/shapes.py:971: RuntimeWarning: invalid value encountered in arccos
In the image , the RoundedLine is on the left and a Line is on the right.
I will look closely at the data and see if I can figure out why it may be doing this.
Caught it in the act:
Because the argument is > 1.0 np.arccos returns a 'nan' causing the rounded line to be drawn incorrectly.
The text was updated successfully, but these errors were encountered: