Notifications
Clear all

[Closed] pickbutton question

I don’t really understand the issue. You may try looking through my script here that separates material IDs to unique 0-1 space.

-Eric

Ill try to explain better.

You create a box, sphere and cylinder. Select all and add the unwrapUVW modifier, click edit. You unwrap it and pack it into 0-1 space or the first tile how ever you want to call it. Now you want to move all the clusters exactly one tile to the left. So they are outside the 0-1 space. This script should do that. But instead since there are 3 objects selected it moves it 3 tiles to the left. IF there were 6 objects that were packed into 0-1 space and you execute the script it would move it 6 tiles to the left. I don’t know if i can explain any better. Follow the steps and i am sure you will understand the problem behind it.

Do you mean it moves all 6 tiles to the left, or that it moves n (where n is the loop number) spaces to the left as it loops though?

-Eric

It moves n times to the left (n being the number of the selected objects) but i want it to move 1 tile to the left with n objects selected.

n ammount of objects selected witch share 1 unwrapUVW modifier, you select half the clusters and want to move it one tile to the left. But it moves it n times to the left.

Sorry i don’t know how can i explain this any better. I guess my English sucks

Page 2 / 2