simple and dull algorithm 1. get average center point 2.get average plane 3. get average radius 4.create n sided circle with radius and center point 5 move vertexes to their counterpart in the circle 6.delete circle 7. rotare vertexes relative to the centerpoint until the hull is convex even easyer script way slice…
Polyboost has such feature, under "loop tools" there is a "circle" command. The only problem is that it doesn't work right if there are any poles on the loop(vertices with more than 4 edges connected to them). So , in the case of callapsed edges, it won't work.
we already have it, i use it all the time... http://www.creativecrash.com/maya/downloads/scripts-plugins/modeling/c/equalize-continuous-edges?software_version=2009 the example pic is doing it a different way, but it also has the functionality your looking for, if you select a loop is going around the tube and not down it..…
It works if you cap it first. Edit: So what i thought was actually true. Once you collapse vertices the original center of the circle is lost. The center calculated from all vertices at least. How do you construct a cicle without knowing the correct centerpoint? Some testing code: ( --If there is anything selected? local…
Ah after looking at the example images again I see that this proposed script would solve that issue without losing too much volume. I was more thinking along the lines of the problem where, if you go from a 12-sided cylinder and "collapse" every other edge (instead of "removing" every other vertex), the Collapse action…