I have a little script that export a camera out of blender and it uses the Matrix.as_euler("ZXY") to extract the rotation values. It all works great as long as it doesn't cross 180 degrees. When it does it can become negative values (-179.9999 instead of 180.0).

Is there a way to avoid this old problem (when exporting to euler)? I see that the alembic exporter avoids it, does it have some kind of built-in filtering?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.