This addon creates UV coordinates using Box mapping and Best Planar projection for selected polygons. For non-square textures script calculates proper proportion to avoid stretching. You can specify the exact Size of the texture on the object.
SureUV addon is very useful for fast architectural texturing.
Download repository as ZIP-file from https://github.com/amilovsky/sureuv
Direct download link: https://github.com/amilovsky/sureuv/archive/master.zip
- In Blender choose menu Edit > Preferences...
- Switch to Add-ons tab
- Press Install... button
- and select downloaded ZIP-file
- Switch on Sure UV Mapping add-on checkbox