Rotate uvmap random 90 degree
Hello community,
I need a little help and i hope someone can help me :), in my script i want to rotate the uvmap by 90 degree steps and i coundnt figure out how to do it.
At the moment the script are rotating the uvmap in 360 degree, but in smaller steps not just 90 degree steps.
Has someone an idea?
thx Dragan
rollout UVmaprot "Rotate random uvmap" ( button uvrot "Random rotate uvmap" on uvrot pressed do ( for i = 1 to selection.count do ( obj = selection[i] gizm =obj.modifiers[1].gizmo valrot = random -360 360 gizm.rotation = (angleaxis valrot [0,0,1]) ) ) ) createdialog UVmaprot
Comments
...
Hi "Zemljak" ;)
with this you can rotate in any axis by 90 degrees
bga
Hvala :P
Hvala :P