[Bf-python] UV mapping, mirror image and Python

Toni Alatalo antont at kyperjokki.fi
Thu Jan 10 19:48:29 CET 2008


Carsten Wartmann kirjoitti:
> Christian Monfort schrieb:
>   
>> When using "UV/Image Editor" in Blender UI, you can mirror image along X 
>> and/or Y axis by pressing M-KEY.
>>     
> You need to do it directly in python. It is not just a call to the API, 
> instead you iterate over your UV-Coordinates and multiply every 
> Coordinate with -1 (of course only the wanted axis).
>   

just mentioning for completeness,

that i suppose another possibility is to add the func to the api, 
especially if it already is a clean separate function on the c side it's 
simple to add such things,

but as the op is so simple, and the data is not much (hence c speed not 
needed), it might not be necessary at all. but just for info

> Carsten

single-handedly yours (baby in other hand :)
~Toni



More information about the Bf-python mailing list