2 new uv mapping scripts

Hi, interested in feedback on these 2 scripts. both give new ways to do UV mapping.

Follow active face, wikidoc and script
Doc: http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Follow_active_quads
Py: http://members.optusnet.com.au/cjbarton/uvcalc_follow_active_coords.py
http://mediawiki.blender.org/uploads/f/fd/Uvcalc_follow_active_road.pnghttp://mediawiki.blender.org/uploads/d/dc/Uvcalc_follow_active_tube.png

3 Click interactive project
Doc: http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Click_project_from_face
Py: http://members.optusnet.com.au/cjbarton/uvcalc_quad_clickproj.py
http://mediawiki.blender.org/uploads/e/e1/Uvcalc_from_face.png

both these scripts are fantastic! i doubly appreciate that they are both on the Ukey menu in UV mode.

A couple of notes: Perhaps it is not so obvious on the 3 click that the projection takes on the normal of whatever face you click on for the first click. Also, the texture does not get updated during the clicking if you have subsurf enabled.

Wow, I could have used that first one 3 days ago when I tried to unwrap a twisted snake shaped think. Thanks.

Guys, stop being so positive!
<removed wanker comments>

Seriously, Thanks for the feedback, but feel free to be critical - or suggest outlandish additions that would make them more useful

LucidMonkey: Names for these tools are awkward, ‘Click project from face’ - Im hoping the ‘project from face’ part hints at project from the faces normal.

  • Its a situation where explaining the tool in the name dosnt work in english “3 Click, Face Normal interactive projection”
  • Ill checkout the subsurf issue
    UPDATE, both work with modifiers now. if modifiers are applied me.update() is needed every redraw. chesks for modifiers are done to know weather this is needed.

Seems to crash here on OS X (py 2.3) after the first click:

“Traceback (most recent call last):
File “<string>”, line 265, in ?
File “<string>”, line 120, in main
ValueError: unpack tuple of wrong size”

click proj from face hada problem when clicking on no face. uploaded the fixed one.

I really think you should push to have these either hardcoded into the source or included with the next release. The follow active face script looks like it would be quite useful for things like racing games and images with roads, pipes, or anything that requires a texture to follow a quad path:)

Thanks Cambo! I’ll put these scripts to work right away.:smiley:

a few points, since these scripts are in the UV menu, and not tooo slow
(Iv done my best to make them fast - to unless your using 5,000+ polys, the speed hit from python should be negligible)

  • In some cases python is easier to optimize and ends up having better performance.

Broken suggested click-project would be better a modifier, but thats not possible in the short term - If its done well Id be happy for the script to be replaced.

Maybe click project could use some visual guides while the mouse is movng too…

PS. Suggestions on the docs are also appreciated.

Couldn’t get the first version working with a 2.43 test build
http://www.continuousphysics.com/ftp/pub/test/index.php?dir=blender/&file=blender-2.43-preview9-win32.zip
Maybe I don’t understand it’s usuage?

The second build works a treat and reminds me of the Multigen texturing tools.

Much appreciated

thanks