i'm looking to create a script ( if there isn't one out there already ?? ) that will average the length of a selection of edges. the practical application would be for creating belts and straps etc
eg :
layout your poly strips across a live surface
make the necessary tweaks
run the script to give the cross section a uniformly perfect width
.
i've written a few of my own little tools with MEL before but to be fair my coding skills are pretty weak so. . . any ideas on where i might start ?
Replies
you can grab it from here
I just take the edge selection, expand it to verts to find each endpoint, get the length for each edge, then average them and scale them. It's kinda messy, but it should get the job done in most cases
Then again for doing perfectly spaced belts I'd probably end up using a spline a lot of the time, then just Sweep it with a custom outline. Perfect curves, perfect width all the way round.
Edit: Just noticed this was a year-old post!
Been a while since I've seen this one haha
If anyone figures a way to do this in max, I'd love to hear it too
for anyone using mine, I made a gif on how to use a couple modes but never linked