ScriptSpot home

Script

UV Strip Straightener

By Garp · 2011-01-09

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
2.5
3ds Max compatibility
See listing claims below
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

From original requirements
9 or newer
Original version requirement
max 9 and above
Date updated
2011-01-09
Legacy votes
64

Release history

Tags: UV Mapping, Unwrap, align, uv, mapping, Textures, straight

Description

Mapping tool that straightens a single strip of faces.

Additional Info

This tool is run from the Mapping menu of the Edit UVWs dialog (UVW Unwrap modifier). It works on all mappable surfaces except patches. The code ignores the current edge visibility and checks the underlying triangular structure for validity. Hence a strip must have a topology such that it 'could be' made of a single line of quads, all well connected.

Options: By default, the original proportions of the faces are more or less preserved, depending on the distorsion needed to align the selection. When averaging the edges, U is along the length of the strip and V across it. The Normalize option rescales the selection so it fits in the 1x1 UV square.

The operation is performed in the current view plane (UV, VW or UW) and the third coordinate is left unchanged.

Installation: Drop the .mzp file in a viewport. The macroscript is saved in the userMacros folder and an entry for it is created in the appropriate menu. When downloading the file, its extension is sometimes changed to .zip. Just change it back to .mzp before dropping it in max.

Comments (17)

Comment policy

Marcelo Pereira

Great job!

Perfect! 3ds Max 2019

Toby

Fails miserably!

No longer useful to 3d max 2018 and above! Fails!

Habib

Nice job bro

Alain Pires

Little Request

Hi Garp,

good job for this script.

I was wondering if there is any chance that you make the same thing for a selection of several polygons in the uvs editor ?

The Straighten Selection of max works in some way, but it completely breaks the proportions and make it useless in the end.

Hope to have some news of you about this :)

Thanks.

jgk1981

Great lil feature for speed up the uv process . Is it possible to make it work on more than one strip line on the future update?

Fabio Capone

LOVE

you are my HERO man , for real !!!

dmi3iy

Thx!

In 2015 works very well! Thx!!!

Martin Frodl

GENIAL!

othoap

win7-64bit installation

As stated drop the mzp on the viewport. Then from the Maxscript menu drop down select run. Find the "UVW Unwrap-straightenUVstrip.mcr" file in
C:\Users\admin\AppData\Local\Autodesk\3dsMax\2010 - 64bit\enu\UI\usermacros
and select to run.

Restart Max. Go to the menu Customize\Customize User Interface\ and look for the category "UVW Unwrap". Under there you'll find the link to launch the script. FYI you can also launch it within the Max "Unwrap" editor interface. Look under the "Mapping" menu for "Straighten UV Strips"

The only issue I found was. A 3 point poly face will give an error. Use the break tool to isolate that 3 point face in the strip. Then select the rest of the strip you want and run the script. Of course then you need to re-weld that sections back together.

Thanks GARP for this one!!

othoap

WOW

This script change my life. GREAT TOOL. I second "stenionet's" request. Please make it for none uv poly editing.

Michele Marcelli

Thank Garp! Very good Job! :) One point to you :)

Garp

Looks like unwelded vertices.

dutch

---------------------------
MAXScript
---------------------------
Invalid Strip(3)
---------------------------
OK
---------------------------

getting this error.

Reply to dutch
othoap

Dutch

I found that a 3 point poly face will give you that error. Use the break tool to isolate that 3 point face in the strip. Then select the rest of the strip you want and run the script. Of course then you need to re-weld the sections back together.

stenionet

Could make a script to do the same with the polys in Edit Poly?

MattOstgard

Excellent tool

thanks for making it.. super super useful