Re: [Maya-Python] Sort a list using another list

2016-08-21 Thread Christopher Crouzet
Glad to hear that it's working out for you! And don't worry for not understanding how the `sort_uvs_by_shells` function works, it's my fault for writing it in a not so readable way. I'll give a go at decomposing and describing each of its operations. It's a good exercise for me as I'm usually pre

Re: [Maya-Python] Sort a list using another list

2016-08-21 Thread Aren Voorhees
Thanks to both of you for your rapid responses! Using Christopher's example I was able to get it working to where it could sort the uvs by their shell (I must confess I don't exactly understand how the sort_uvs_by_shells function works, but I'll study up on it and get it figured out in my head).