Page MenuHome

Sure UVW Map v.0.3 (Box and Best Planar) in accordance of texture image aspect
Closed, DuplicatePublicPATCH

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.60
Category: Mesh
Homepage: http://blendermen.livejournal.com/
Script name: Sure UVW Map
Author(s): Alexander Milovsky
Status: Open
Related: 29320 29244

This universal script (v.0.3) creates UV coordinates like known UVWMap modifier with Box option and like Best Planar Unwrap.
For non-square textures script calculates right proportion, so will be no texture stretching.
You can specify the exact size of the texture on the object.
For texture image width will be exactly Size.

Very useful for fast architectural texturing.

You can work interactively on selected polygons in Edit Mode or on full object in Object Mode.
All parameters (size, rotation, translation) are present for full control over texture placement.
Box Mapping is useful for total mapping (walls, floors), Best Planar is good for correct mapping for arbitrary oriented polygons (roof etc.).
Best Planar Mapping uses average normal to place Planar UV Mapping.

Warning
======
You should make material with raster image as texture first.
Script uses active texture in active material to automaticaly get right proportion.
Remember that object scale should be 1:1:1. Use Apply Scale if it isn't

Step by Step:
=====
1. Create Mesh object (your architectural object)
2. Add Material to object
3. Add texture for Material with Image or Movie type and choose raster image you want use as diffuse
4. Don't forget to set Coordinates: UV in Mapping Rollout
5. Switch to Object Data Tab, you'll see two buttons in Sure UVW Map Rollout: UVW Box Map and Best Planar Map (addon should be activated).
Select object or only few polygon and click one of two buttons.

If you press UVW Box Map button:
--------------------------------------------------
6. Set parameters in Tool Properties:
Size - horizontal size of projected texture in Blender Units (meters).
XYZ Offset - offsets on world axis
XYZ Rotation - angles of rotation for every axis

If you press Best Planar Map button:
--------------------------------------------------
6. Set parameters in Tool Properties:
Size - horizontal size of projected texture in Blender Units (meters).
Z Rotation - angle of rotation
XY Offset - offsets in mapping space

Event Timeline

Hi,
Due to changes to the api including the merging of bmesh, several addons are outdated.
Please, if you are the author of an addon check your script with blender revision 44256 or newer.
That is builds made After blender 2.62 official release.
I would ask that updates be made to your addon before the Blender 2.63 release.
6-8 weeks away.
This allows time for the api to become more exposed & bmesh to stablize furthur.
If you need help, drop into irc freenode #blenderpython or #blendercoders & feel welcome to ask questions.
At the time of 2.63 release, scripts that are not repaired or in active developement will have their tracker page marked "Closed"
this will not affect your links to the tracker, similar to closing scripts in 2.49b, the page will be still availible & can be re-opened.

Thanks for your understanding & patience during these Exciting Times.
Brendon.

Brendon Murphy (meta-androcto) changed the task status from Unknown Status to Duplicate.Sep 8 2015, 8:01 AM

closing duplicate tasks, please update only 1 task