A little delayed birthday present for Per, on whose request this script was done.
It allows straigthening of connected edge selections
the gif illustrates the use paired with regular ring selection + insetting polys
script is over at my page or at scriptspot
http://crazybutcher.cottages.polycount.com/code/_3dsmax.html
should work on 5.1 and up
EDIT:
released a new and improved version which doesnt need the internal ring stuff anymore and is therefore robust. (removed the notes from text above)
however the .gif is still from old and now you would need a proper ring selection to work now
Replies
However, just so I understand, why can't the other Connect options (slide and pinch, I think, although I can't remember for sure) be used for the same effect?
In modo you can atleast, tho its not perfect and sometimes will do soem wanked stuff. But for something like this it usually works flawlessly for me.
Also sometimes like in your 2nd example you can get away with doing edge extrude, but it usually requires a little cleanup at the ends. But works fine on your 1st example. Now dont get me wrong i'm not trying to kick ur babies in da teef and steal ur thunder from this fantastic thread, just agreeing with you that its a problem and giving some info on how to do similar stuff in other programs besides max.
EDIT: did a new version 0.8
size of edge series affects outcome
for 1 edge it is turned to a loop of 3 edges, and then modified
for 2 edges, simple straighten is done
for 3 or more edges they are modified with the dialog value
also added another macroscript to open the dialog
thanks guys!
Hi SupRore!
I tried I explain it already, but here's a clearer illustration:
[/ QUOTE ]
Ah, I see. Thanks.
glad it's useful
Outstanding stuff, CrazyButcher. I've been waiting for something like this a long time. This will speed things up quite a bit.
Thanks
if the value is 0 the length will be projected on the line, else it will take the vertices that are next to the most outer ones and move them with given distance on the line, the other vertices are always projected.
http://www.members.shaw.ca/whargoul/CRstraightenEdges.mel
call "CRstraightenEdges" to bring up a window. Select a single edge loop, and click the button to straighten it. Slider from 0-1 is how much to preserve the end edge lengths. I should have made it work on a ring of loops, but I only wrote it on my lunch break one day and didn't want to spend a lot of time on it. Maybe later
hi guys, i just stumbled on this SUPERB script but i have very little experience using scripts and can't get it to work. could anyone please explain in layman's terms how to do what is shown above? when should i run the script? before or after connect?:poly007:
i'm using max 2008
select edges as seen in the gif (each series must have lenght of 3 edges), and run the script. With the dialog version you can change the distance to outer endpoints. (just interactively move the spinner with dragged mouse)
to 'run' the script i downloaded the text, opened the maxscript window and pasted in the code, then saved as new script. i then select my edges, run script (i.e. click on 'Maxscript' menu and then on 'run script'), but there is no effect - no pop up window and no effect on edges. i must be doing something wrong
You only need to run the script once, then look in Customize User Interface for the shortcut, and either add it to a Quad Menu or a hotkey.