http://www.thesethings.clara.net/polyhedra/
great work!!
Looks cool. The million-dollar question is of course: has anyone successfully unwrapped a real model - i.e. a character or something - using this script?
I’m glad you found it usefull. I need to improve its speed – the maths is crap and wastefull and it runs very slowly especially in Blender 2.27. If only Blender’s API had simple maths methods for dot and vector products and for rotating points about arbitray axis - python is really slow for all that work.
As for the million-dollar question; the answer is probably ‘no’ – mathematically it is only possible to unfold convex meshes this way and a head or other biological form usually has some concave surfaces. What you can do is split the mesh into convex portions and unfold each separately and this is something I might try to add an option for later.
Okiedokie! Cool stuff nevertheless!
Hi Celeriac,
To improve its speed, try to use psyco. (psyco.sourceforge.net) Install the module and than type if you want to keep it usable for non psyco users:
try:
import psyco
psyco.profile()
except:
pass
And that’s it. It probably has even more effect than rewriting your Python code. I used it one Blender program and it speeded up 6x times!!
The script looked very nice!
Stani