2

After I subdivided the iconsphere twice, I would like to select all pentagons shown in the image here, and unwrap them to fill the whole uv editor window, i.e. all pentagons overlap eache other.

How to accomplish this, for the benefit of texture assigining?

Thank you!

in the uv editing mode

jachym michal
  • 31,744
  • 5
  • 55
  • 115
yychen
  • 21
  • 2
  • 1
    This post is tagged 'Python'... do you want to script this? – Robin Betts Feb 02 '23 at 09:34
  • Yes, actually I find it straightforward to use codings... And how to generalize this problem, say expand islands of various shapes to the four corners? Thank you! – yychen Feb 03 '23 at 08:54
  • If you're looking exclusively for a script.. maybe you should edit to make that explicit? .. the more general mapping of polygons to quads, sure, is another question. – Robin Betts Feb 03 '23 at 09:15
  • @RobinBetts Thank you, I'll reconsider :-) and some handy UV tool may also prove useful! :-D – yychen Feb 03 '23 at 10:24

1 Answers1

4

Because all pentagons have the same rotation (-18°), aligning is simple.

  1. Select one face on a pentagon
  2. Go Select > Select Linked, (Shift + L) to select remaining faces
  3. Set UV position to 0,5 (or any other coordinate)

List item




And for expanding across the whole UV canvas.

  1. Rotate the resulting pentagon 18°
  2. Check UV > Constrain to image bounds
  3. Scale up the pentagon, it will stop automatically at borders

enter image description here

jachym michal
  • 31,744
  • 5
  • 55
  • 115
  • 2
    Hi, there.. the shipped add-on Magic UV has a Copy/Paste UV between islands op, which could speed this up a bit? .. I don't know whether the `Python' tag on OP is significant .. – Robin Betts Feb 02 '23 at 09:49
  • Thanks, good to know, that speeds it up a lot :). – jachym michal Feb 02 '23 at 10:10
  • 1
  • 1
    Actually I got some inspiration from the post with the following url, https://blender.stackexchange.com/questions/173627/how-to-get-index-or-location-of-point-selected-in-edit-mode-using-python-api. Combine it with the instruction "bpy.ops.uv.select_linked_pick(extend=True, deselect=False)", and we can get an automated script. – yychen Feb 04 '23 at 03:28