B3.2: Any unwrap methods in python?

Hi all :slight_smile:

I was wondering whether existed some unwrap functions in python that i could reuse in my code ?

As most know, unwrapping is the poor parent of blender and iโ€™d like to bend to more serious things ( like constraining unwrapping to rectangle zones ).

so thanks for your answers and ideas :slight_smile:

and happy blending !

If you donโ€™t want to use whatever Blender offers out of the box, then you would have to transform the UV coordinates yourself.

Or perhaps if you want to save on some math and complexity, have Blender first do the heavy lifting and then go again with your code and change things a bit.

However I donโ€™t know exactly about the specifics of the unwrap algorithm, because these are figured out from great mathematicians. If it happens you to find some library it will be worth a look.