Ok this script is VERY VERY preliminary. Select 1 loop and execute the script. it will straighten it with respect to the direction of the surrounding edges. High curvatures are a problem for this script so if it doesn't work select a subsection of the edge and try again.…
Hi Rob, sorry for the late reply. I gave the script a go and it wasn't quite working out - but good effort - thanks. After doing some more searching I came across this script http://www.scriptspot.com/3ds-max/scripts/straighten-edge. It straightens loops whilst constraining to edge. The problem is that it's not been…
Thanks for the link Kary. Set flow reshapes the geometry, which is unwanted. I need to straighten the curve between the two end vertices whilst constraining to edge. Does it do this? I haven't been able to get it working to try it. I'm running Max 2010. I've opened a new script in Max, copied and pasted the Script, then…
What if you run crazybutcher's straighten script with constraints to face, and then use set flow? That got the right result... on a sphere with a partial loop selection :|
I have no experience whatsoever with max scripting and try to avoid code as much as possible. However, there is a feature that I'd really love to see in Max, and if I knew how to, I'd code it. But I don't, so hopefully someone here with the skills would see the same benefits in it. I've mentioned the feature before. In…
Im working on another method for doing this. If that doesn't work ill modify that script. finding the start and end vert of and edgeloop is very easy. If you fancy trying it yourself in the mean time you just need to cycle through the selected verts and find which ones only have 1 edge in the selection.
Unfortunately, it doesn't work as hoped. The action also pushes the vertices in the other axis which changes the geometry too much in the cases I've tried it with. The reason it's worked cleanly in your example with the sphere is because you used Set Flow, which perfectly corrected the geometry of the sphere (you could…