Evenly Space Edges
Posted: 06 Dec 2013, 16:49
I was checking some scripts in the net and I found Alan Fregtman's evenCurves.py gist.github.com/darkvertex?sort=created&direction=asc
It was very interesting to read even if I don't write too much python ( I just cant get used to the "application" writing and its difficult to understand error logs ), and I though, what if I do use this to re-align points in selected edges ?!
Instead of using complicated Math (that always get me headaches), I could just create curves and align the points to the curve!
I gave it a shot and here it is:
The code is still a little dirty, but it works. Most of the time at least.
Warning: If you are a python newbie I wouldn't recommend to learn from my code
To do: Making it a Scripted Operator (maybe ICE based ?)
Moderator edit: As our URL tags are annoyingly picky sometimes - especially with URLs without "www" - I created a tinyurl to circumvent the problem - HB
It was very interesting to read even if I don't write too much python ( I just cant get used to the "application" writing and its difficult to understand error logs ), and I though, what if I do use this to re-align points in selected edges ?!
Instead of using complicated Math (that always get me headaches), I could just create curves and align the points to the curve!
I gave it a shot and here it is:
The code is still a little dirty, but it works. Most of the time at least.
Warning: If you are a python newbie I wouldn't recommend to learn from my code
To do: Making it a Scripted Operator (maybe ICE based ?)
Moderator edit: As our URL tags are annoyingly picky sometimes - especially with URLs without "www" - I created a tinyurl to circumvent the problem - HB