ec.rotate_elements inverts geometry when rotation axis vector has zero-length #161
-
Hi, When elements are rotated around a vector with 0 magnitude (for example [0,0,0] or in my case [0,-0,0]), the geometry gets inverted/destroyed. Are there use cases where this behavior is desired? If not I suggest throwing an Error when the rotation axis has zero-length.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thank you for reporting the problem. We will enforce an invariant that the rotation axis vector should never have a zero magnitude. This will prevent such issues. |
Beta Was this translation helpful? Give feedback.
Thank you for reporting the problem. We will enforce an invariant that the rotation axis vector should never have a zero magnitude. This will prevent such issues.