Is it possible to auto-rotate UV Islands with Python? For example I selected all islands and want to rotate them according to their width and length.

I need to:

  • get all selected islands.
  • get their width and height.
  • rotate an island by 90 degrees.


enter image description here

How do I do it with python?


  • $\begingroup$ In your example image, which islands would be selected for rotation? All of them? The two on the right? The one on the left? It's unclear why you want to rotate them. $\endgroup$ – Justin Jun 18 '14 at 16:12
  • $\begingroup$ All islands should be selected and rotated according to their proportions. $\endgroup$ – mifth Jun 20 '14 at 10:20
  • $\begingroup$ So let's take the image you provided as an example. In that example, which of the three UV islands would need to be rotated? And by how many degrees should they be rotated? $\endgroup$ – Justin Jun 20 '14 at 12:40
  • $\begingroup$ @Rebellion has been implementing such a feature. It seems he has almost done it. blenderartists.org/forum/… $\endgroup$ – mifth Jun 21 '14 at 17:16
  • $\begingroup$ @Rebellion has implemented such a feature. blenderartists.org/forum/… youtube.com/watch?v=clgrf0DUvso $\endgroup$ – mifth Jun 21 '14 at 18:49

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.