Align UVW Map Gizmo On Average Normal

Can somebody write a script like this one:
http://www.scriptspot.com/3ds-max/scripts/alignuvwmapgizmoonaveragenormal
The link is dead and I can't find a similar script.
When you have objects or subobjects pointing in different directions and you want to save time aligning the UVW Map gizmo to each one of them. Example: A playground equipment with many wooden beams pointing in different directions so the wood texture has to be aligned to each one of them correctly.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
charlesm's picture

Thank you very much Miauu.

Thank you very much Miauu.

rachka's picture

Thank you very much miauu!

Thank you very much miauu! But now that I used the script seems like I didnt quite understand what this script is about. It didnt do the task that I wanted.

What I wanted to do is to apply UVW Map (box) on many objects (or if it's a single object - on their faces) and somehow the script guess the direction of the mapping so that the wood texture points in the correct direction. Instead of manually selecting each object and tweaking the gizmo and aligning it to the correct normal. The final mapping should look like this:

https://cloud.mail.ru/public/5GCb/xppV1Jk3K

Such script will be very handy and time saving when mapping wood on surfaces pointing in different direction. I wonder is such script possible at all.

 

miauu's picture

.

The link is dead but you can download the script from here:

https://drive.google.com/open?id=1EfMvPv8sX7CU9lCU1-QZUatuO95Kz7Dx

charlesm's picture

Miauu, The

Miauu,

The link

https://drive.google.com/open?id=1EfMvPv8sX7CU9lCU1-QZUatuO95Kz7Dx

is dead. Can you re-put it please ?.

Thank you

miauu's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.