Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
UV mapping is the process of taking a three-dimensional mesh (X, Y and Z coordinates) and unwrapping it to a flat two-dimensional image (U and V coordinates), in order to texture the 3D model with 2D images. Use this tag for questions pertaining to UV's and UV mapping.
0
votes
Scale Connected UV Faces on Individual Origins
loop_sum = mathutils.Vector((0, 0, 0))
loop_count = len(face.loops)
for loop in face.loops:
uv = loop[uv_lay].uv
loop_sum.xy += uv
center = loop_sum … ].uv *= x
# Move the UV coordinates back to where they were
loop[uv_lay].uv += center.xy
# Update the mesh with the changes
bmesh.update_edit_mesh(mesh)
bm.free() …