UV Toolkit v1.3#
What does it do#
Automates and simplifies aspects of the recurring UV unfold / layout process.
Interface#
Compatibility#
Maya | 2018 | 2019 | 2020 |
---|---|---|---|
✓ | ✓ | ✓ |
Installation#
-
Copy UVToolkit.py, UVCheckerPattern_1K.tga and UVDirection_1K.tga to :
-
Launch / Restart Maya
-
In Maya, open a Python Tab in the Script Editor and execute :
Warning
Please make sure that there are no Space characters in front of the code lines.
Video Overview#
Option Menus / Modifier / Help Line#
-
Option Menus can be accessed when you click on a button with the RMB 3.
Note
When a button features an Option Menu a little list icon appears next to the cursor.
-
Modifier access different functionalities when you LMB1 click on a button with
- Alt
- Ctrl
- Shift
-
The Help Line, along the bottom left of the Maya user interface, provides a short description of tools and menu items as you hover over them.
Tool Menu#
Info
The Tool menu is located in the top right corner of the toolkit.
-
Up arrow collapses all tabs
-
Down arrow expands all tabs
-
UV Editor icon:
-
Question icon is a direct link to the online documentation
-
Stack icon opens a new window with information about the tool
Unfold Tab#
Unfold#
Info
Automatically cuts selected edges, unfolds (based on Unfold 3D) and packs the shells.
-
Make a UV projection of your object.
Tip
For best results make a Camera instead of an orthographical (X, Y, Z) projection.
-
Select your desired cutting edges.
-
Click on Unfold to run the script.
Projection#
Info
Create UV texture coordinates for the selected object using a planar projection shape.
- Click on Projection with or without a Modifier to make a projection from
- LMB 1 : Camera
- ALT : X
- CTRL (CMD) : Y
- SHIFT : Z
U / V#
Info
Unfolds UV selections horizontally, vertically or freely in both directions.
-
Select UVs
-
Click on U / V with or without a Modifier to run the script
Note
LMB 1 : Horizontal Unfold
ALT : Vertical Unfold
CTRL (CMD) : Free Unfold
add SHIFT : Pins selected UVs during unfold
Straighten#
Info
Use LMB 1 to straighten selected UVs (works best with small curvatures)
-
Select UVs
-
LMB 1 click on Straighten to run the script
Info
Use ALT to straighten UV Shells
-
Select an edge loop
-
ALT click on Straighten to run the script
Gridify#
Info
Automatically unfolds cylindrical shapes based on a cutting edge selection.
-
Make an edge selection on a cylindrical shape that serves as the cut line
-
Click on Gridify to run the script
Layout Tab#
Layout#
Info
LMB 1 Automatically arranges objects UV shells and scales them uniformly.
Use ALT to do it individually for every object.
-
Select one or multiple objects
-
Set your Layout size in the MMB 2 menu
-
Set your options in the Option Menu
-
Click on Layout with or without a Modifier to run the script
Note
MMB 2 : Set Layout size
RMB 3 : Option Menu
Option Menu options:
Shell rotation:
- None
- Free
- 90 Degree
Grid Arrange#
Info
Use LMB 1 to arrange object's UV layouts in a grid.
Use ALT to sort layouts based on their Polygon count.
-
Select one or multiple objects.
-
Define your layout scale size within the MMB 2 menu.
-
Click on Grid Arrange with or without a Modifier to run the script
Note
MMB 2 : Set layout scale size
Stack#
Info
LMB 1 Stack object's UV layouts in default range, without changing the scale size.
Use ALT to stack and scale the layouts uniformly.
Use CTRL to stack UV shells
-
Select multiple objects or UV shells.
-
Option to set a uniform scale size within the MMB 2 menu.
-
Click on Stack with or without a Modifier to run the script.
Note
MMB 2 : Set scale size
Align#
Info
Align UV shells to a specified reference.
LMB 1 Horizontally
ALT Vertically
CTRL Match position
-
Select a UV shell and click with the MMB 2 on Align to set it as your reference
-
Select multiple UV shells
-
Click on Align with or without a Modifier to run the script
Note
MMB 2 : Set reference
Spread#
Info
Distribute UV layouts based on an input value (object based).
-
Select multiple objects.
-
Set a move value within the MMB 2 menu.
-
Click on Spread with or without a Modifier to run the script:
-
LMB 1 : Move right
-
ALT : Move up
-
add SHIFT : opposite directions (left, down)
-
Note
MMB 2 : Set move value
Modify Tab#
Rotate#
Info
Use LMB 1 to rotate UV shells clockwise or ALT for counterclockwise.
Add SHIFT to rotate each shell individually.
-
Select UV shells
-
Set your options in the Option Menu.
-
Click on Rotate with or without a Modifier to run the script
Flip#
Info
Flip the position of selected UVs or UV shells
LMB 1 to flip all selected UVs
ALT to flip each UV shell from their individual center point
SHIFT to flip all back-facing shells automatically (Select an object or UVs)
Orient#
Info
Orient UV shells
LMB 1 Orient selected UV shells to run parallel with the closest U or V axis
ALT Align orientation with the X-Axis
CTRL (CMD) Align orientation with the Y-Axis
SHIFT Align orientation with the Z-Axis
Local Scale#
Info
Scale multiple UV shells at their individual center point.
-
Select 1 UV from every target shell
-
Click on the Local Scale button to launch the scale process
-
A new window opens, use the Slider to interactively scale the UV shells
-
Click on Done to finish the process
Equalizer#
Info
Match your object's UV layout scale to the size of a specified source.
-
Select your source object
-
Use ALT click on the Equalize button to define the scale reference
-
Select one or multiple target object(s)
-
LMB 1 click on Equalize to match the scale size
UV Shader#
Info
Creates two UV shaders with custom texture maps (map size is 1K).
Useful to check if your UVs are properly unfolded, oriented and equal in size.
1) Checker Pattern
2) UV Direction
-
Create / Del
-
LMB 1 click creates the shaders
-
SHIFT click deletes the shaders
-
-
Select one or multiple objects
-
Un / Assign
-
LMB click assigns the Checker Pattern shader
-
ALT click assigns the UV Direction shader
-
SHIFT click unassigns the current shader
-
-
Choose your texture size:
- 1K
- 2K
- 4K
- 8K
- 16K
- 32K
Transfer#
Info
Transfer UV layouts from source to target objects.
-
Set one or multiple source objects
-
Set one or multiple target objects
Note
If you have multiple source objects, the script will copy
from source 1 to target 1
from source 2 to target 2
and so on, until there are no sources left.
-
Set your options in the Option Menu. (RMB 3 click on Copy button)
-
Click on Copy to run the script