Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.61
Category: UV
Python: 3.2
Script name: UVDistribute
Author(s): Dan Wheeler (Quizkid)
Status: Open
Features:
Distributes selected UV vertices evenly in the Horizontal and Vertical directions.
Setup:
Install like any other Python addon, by using the button at File>User Preferences>Addons>Install Addon... After installation, check the checkbox in the Addon Category "Mesh>UVDistribute"
Manual:
Sometimes the UV unwrap feature will warp the spacing of UVs along edges. In Blender 2.61 (and perhaps earlier), there are new tools to align UVs in the X and Y direction, but sometimes alignment is not enough. Sometimes the UVs become bunched up at one end or the other, or in some way become not distributed evenly. This script fixes that. To be honest, I'm surprised Blender does not come with this rather simple feature. Without it, it's hard or impossible to model certain UV mappings, such as mapping "grip tape" that is spiral wound around a tennis racquet handle, or sword handle (using the screw modifier). Unwrapping the spiral object tends to cause the UVs to get distorted.
To use, select 3 or more UV vertices in the UV Editor, and select "UVDistribute" from the UVs/Weld/Align menu. The vertices will be spaced out evenly, in both the X and Y direction.
Workflow: Select an object in the 3D window, go into edit mode, then perform a UV Unwrap. This will cause the vertices to show up in the UV Editor window. Usually you will want to select UVs that are on an edge (by Alt-LMB clicking an edge of vertices for example), then align them in the X or Y axis using UVs>Weld/Align>AlignX or Y. At this point the UV vertices are lined up, but may not be equally distributed. If installed correctly, select "UVDistribute" from the same UVs/Weld/Align menu. The vertices will be spaced out evenly, in both the X and Y direction.
Note - this merely evenly spaces out the vertices, it does NOT attempt to force them into a line - that is what AlignX or AlignY is for.