17

How can I straighten ALL the vertical UV lines at once? Is there a hot keyshort cut? Or if I have to do them one by one .. is there at shortcut for that? Thank you!

enter image description here

Ray Mairlot
  • 29,192
  • 11
  • 103
  • 125
Marc
  • 2,147
  • 8
  • 27
  • 50
  • 1
    A bit related: http://blender.stackexchange.com/questions/23293/uv-coordinates-on-a-deformed-plane – Paul Gonet Nov 06 '15 at 00:26
  • 3
    There's an addon for straightening UV maps - http://blenderaddonlist.blogspot.com/2015/05/addon-quad-unwrap.html. Didn't test it though, but may be useful. – Mr Zak Nov 06 '15 at 00:44
  • 1
    And here is a paid add-on: https://cgcookiemarkets.com/all-products/uv-squares/ – Paul Gonet Nov 06 '15 at 00:52
  • It's curved in the first place due to the angle of your view. If you view it straight on (press numpad 1) it should be straight. See http://blender.stackexchange.com/q/6758/599 – gandalf3 Nov 06 '15 at 02:49

4 Answers4

26

The UVSquares addon is designed to do this easily. Select the uv's you want to straighten out and click a button.

enter image description here

softyoda yoann
  • 575
  • 6
  • 17
sambler
  • 55,387
  • 3
  • 59
  • 192
  • 1
    Awesome! You just saved me so much work! Would you consider writing what the rest of the buttons do? – Shady Puck Aug 01 '16 at 16:00
  • Is this a paid add-on? – ideorium Sep 29 '16 at 09:00
  • It is released under GPL, you can download a free copy from github and if you think it is good enough and want to support the developer you can pay for a copy through CGCookieMarkets. – sambler Sep 29 '16 at 09:26
21

There is no shortcut for that unfortunatelly.

You may do it using pinning and repeating the scaling of the edge loops with Shift+R shortcut, although it isn't a fast method.
enter image description here

In Uv Editor select the corner of the UV island, press Shift+S-->Cursor to Selected. Change the pivot type to 2D Cursor. Select the bottom edge of your island and press S,Y,0 to straighten it. Now press P to pin the selected vertices. Do the same with upper, left and right edges. Next, go to the 3D View window and unwrap your mesh again. enter image description here

Now straighten the other edge loops using Shift+R command. Change the pivot type to Median Point, select the edge and scale it as described above. Then select another edge and press Shift+R to repeat the scaling process. enter image description here

Paul Gonet
  • 33,368
  • 17
  • 91
  • 171
  • Related answer that uses another method: http://blender.stackexchange.com/questions/65565/straighten-the-series-of-vertices-in-uv-editor – Paul Gonet Oct 31 '16 at 16:01
2

In Blender 2.8, you can also do it with the built-in addon MagicUV.

Here is a simple geometry I created.

enter image description here

The red lines are the marked seams. In the UV editor, you can see the original UV was not straighten.

All you need to do is select an end edge and press N > in Magic UV Tab > in UV Manipulation check Align UV > check Transmission > hit Straighten or XY-axis.

enter image description here

And the line will be straighten.

enter image description here

John Binary
  • 523
  • 1
  • 4
  • 8
1

Not always applicable, but worth trying if your UV map is already nearly gridlike: Make a very tiny temporary image, with as many pixels as your mesh has columns, and enable snap to pixels, then select all your verts and drag them around. There will probably be some hand cleanup afterwards, though.

amonroejj
  • 325
  • 2
  • 7