UV Island Copy/Paste #77911

Closed
opened 2020-06-16 12:04:37 +02:00 by Daniel Bystedt · 23 comments
Member

When working with multiple UV island you want to be able to stack them when using trim sheets etc. Blender doesn't have a stacking feature, making the process time consuming, especially if you want to do the same process for things like fences etc that has a lot of UV islands. In other applications this is a one button press to stack UV Shells. This feature request is also discussed here:

https://blender.community/c/rightclickselect/pNdbbc/


UI

image.png

Instead of having a “stack uv islands” feature it’s better to use copy/paste UV.

Why not “stack uv islands”?

  • How would the code possibly “know” which UV coordinate is the source if the current object contains multiple uv island that are matching in vertex count? Therefore it’s better with copy/paste functionality.

What is better with copy/paste?:

  • It is very clear how to define the source UV coordinate (selecting UV’s and “pressing copy UV”).
  • The code can store multiple source UV islands coordinates. Therefore it is fewer clicks for the user.

Starting point
Step 1

The user press the button “copy uv”

  • Based on current selection - a list is stored in memory per UV island containing
    • Vertex count
    • Vertex index
    • Uv position per vertex index

image.png


Select target UV
Step 2

The user selects one or multiple objects (only one object selected in this example)

Note that in next step (step 3) the selected uv island will match the uv’s per UV island stored in memory. The first UV island found in memory that matches the vertex count of the current selected UV island in current code iteration (for loop) will get the same UV coordinates as the matching UV island in memory.

image.png

Paste UV
Step 3

The user presses the button “paste UV”. The two smaller islands in the image will now have “stacked” uv islands that sit on top of each other.

image.png

When working with multiple UV island you want to be able to stack them when using trim sheets etc. Blender doesn't have a stacking feature, making the process time consuming, especially if you want to do the same process for things like fences etc that has a lot of UV islands. In other applications this is a one button press to stack UV Shells. This feature request is also discussed here: https://blender.community/c/rightclickselect/pNdbbc/ --- **UI** ![image.png](https://archive.blender.org/developer/F8624653/image.png) Instead of having a “stack uv islands” feature it’s better to use copy/paste UV. **Why not “stack uv islands”?** - How would the code possibly “know” which UV coordinate is the source if the current object contains multiple uv island that are matching in vertex count? Therefore it’s better with copy/paste functionality. **What is better with copy/paste?:** - It is very clear how to define the source UV coordinate (selecting UV’s and “pressing copy UV”). - The code can store multiple source UV islands coordinates. Therefore it is fewer clicks for the user. --- **Starting point** **Step 1** The user press the button “copy uv” - Based on current selection - a list is stored in memory per UV island containing - Vertex count - Vertex index - Uv position per vertex index ![image.png](https://archive.blender.org/developer/F8651485/image.png) --- **Select target UV** **Step 2** The user selects one or multiple objects (only one object selected in this example) Note that in next step (step 3) the selected uv island will match the uv’s per UV island stored in memory. The first UV island found in memory that matches the vertex count of the current selected UV island in current code iteration (for loop) will get the same UV coordinates as the matching UV island in memory. ![image.png](https://archive.blender.org/developer/F8651488/image.png) --- **Paste UV** **Step 3** The user presses the button “paste UV”. The two smaller islands in the image will now have “stacked” uv islands that sit on top of each other. ![image.png](https://archive.blender.org/developer/F8651501/image.png)
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscribers: @DanielBystedt, @ideasman42

Added subscribers: @DanielBystedt, @ideasman42
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Is this what Magic UV does?

https://docs.blender.org/manual/en/dev/addons/uv/magic_uv.html
https://github.com/nutti/Magic-UV/wiki/Tutorial#copypaste-uv

(it is not perfect in all scenarios - just dropping this as a reference)
#77911.webm

Is this what `Magic UV` does? https://docs.blender.org/manual/en/dev/addons/uv/magic_uv.html https://github.com/nutti/Magic-UV/wiki/Tutorial#copypaste-uv (it is not perfect in all scenarios - just dropping this as a reference) [#77911.webm](https://archive.blender.org/developer/F8624780/T77911.webm)

Added subscriber: @Ghostil

Added subscriber: @Ghostil

изображение.png
And what about addon Magic Uv?

![изображение.png](https://archive.blender.org/developer/F8628734/изображение.png) And what about addon Magic Uv?

Added subscriber: @iWaraxe

Added subscriber: @iWaraxe

What if I just need to select similar UV islands and then stack them? In UVPackMaster addon I can do it in 3 clicks 1) Select a UV, 2) Press Select similar, 3) Press Align similar. Same in TexTools addon. I dont want to do it in Magic UV copy/paste way. It's inconvenient

What if I just need to select similar UV islands and then stack them? In UVPackMaster addon I can do it in 3 clicks 1) Select a UV, 2) Press Select similar, 3) Press Align similar. Same in TexTools addon. I dont want to do it in Magic UV copy/paste way. It's inconvenient
Author
Member

Sorry for the messy initial version of this feature suggestion. I've been on vacation and got back yesterday, so I cleaned it up just now

In #77911#954817, @lichtwerk wrote:
Is this what Magic UV does?

https://docs.blender.org/manual/en/dev/addons/uv/magic_uv.html
https://github.com/nutti/Magic-UV/wiki/Tutorial#copypaste-uv

(it is not perfect in all scenarios - just dropping this as a reference)

Yes, it is similair to what MAGIC UV is supposed to do. The biggest difference is that this feature suggestion works with multiple uv island selection sources and targets

Also, I've always had a lot of issues with getting MAGIC UV to work. In this example I'm using the latest stable blender and bundled version of MAGIC UV

magic uv no workey.gif

Sorry for the messy initial version of this feature suggestion. I've been on vacation and got back yesterday, so I cleaned it up just now > In #77911#954817, @lichtwerk wrote: > Is this what `Magic UV` does? > > https://docs.blender.org/manual/en/dev/addons/uv/magic_uv.html > https://github.com/nutti/Magic-UV/wiki/Tutorial#copypaste-uv > > (it is not perfect in all scenarios - just dropping this as a reference) Yes, it is similair to what MAGIC UV is supposed to do. The biggest difference is that this feature suggestion works with multiple uv island selection sources and targets Also, I've always had a lot of issues with getting MAGIC UV to work. In this example I'm using the latest stable blender and bundled version of MAGIC UV ![magic uv no workey.gif](https://archive.blender.org/developer/F8651525/magic_uv_no_workey.gif)

Added subscriber: @APEC

Added subscriber: @APEC
Member

Added subscriber: @nutti

Added subscriber: @nutti
Member

@DanielBystedt

I'm not sure whether this thread is still valid or not.
But I want to share my information on this thread.

"Copy/Paste UV Island" (Topological based Copy/Paste UV) feature is also requested from Magic UV users.
I have worked to add this feature to Magic UV for some weeks, and have finished recently.

copy_paste_uv_island.png

I will release this feature in next Magic UV's release (v6.6), but you can try this feature from the unstable version.
If you are interested in trying this feature, you can try it.
https://github.com/nutti/Magic-UV/archive/master.zip
(Check Magic UV > Copy/Paste UV > Island in UV Editor)

I hope this feature is useful for you.

@DanielBystedt I'm not sure whether this thread is still valid or not. But I want to share my information on this thread. "Copy/Paste UV Island" (Topological based Copy/Paste UV) feature is also requested from Magic UV users. I have worked to add this feature to Magic UV for some weeks, and have finished recently. ![copy_paste_uv_island.png](https://archive.blender.org/developer/F9899173/copy_paste_uv_island.png) I will release this feature in next Magic UV's release (v6.6), but you can try this feature from the unstable version. If you are interested in trying this feature, you can try it. https://github.com/nutti/Magic-UV/archive/master.zip (Check **Magic UV > Copy/Paste UV > Island** in UV Editor) I hope this feature is useful for you.

Added subscriber: @Limarest

Added subscriber: @Limarest

This feature is a must have and desperately needed for gamedev UV workflow. Selecting similar islands is a common feature with multiple UV addons (TexTools, UV Toolkit, Zen UV and etc) but I would be glad to have at least a copy paste method.
I would also like to mention that you should be able to pack these overlapping islands as one shell, which means being able to group those islands together so that packing algorithm though of those as a single uv island.

This feature is a must have and desperately needed for gamedev UV workflow. Selecting similar islands is a common feature with multiple UV addons (TexTools, UV Toolkit, Zen UV and etc) but I would be glad to have at least a copy paste method. I would also like to mention that you should be able to pack these overlapping islands as one shell, which means being able to group those islands together so that packing algorithm though of those as a single uv island.
Member

@Limarest

Yes.
Pack UV with grouping Island is also useful.
This feature has already requested and I found the solution to support.
https://github.com/nutti/Magic-UV/issues/99#issuecomment-418689517

I am going to release improved version in next release (Magic UV v6.6).
So, it is pleasure to wait until my development is finished.

@Limarest Yes. Pack UV with grouping Island is also useful. This feature has already requested and I found the solution to support. https://github.com/nutti/Magic-UV/issues/99#issuecomment-418689517 I am going to release improved version in next release (Magic UV v6.6). So, it is pleasure to wait until my development is finished.
Member

UV Island Copy/Paste feature is now merged to Magic UV add-on.
blender/blender-addons@2cbb9e2b96

@DanielBystedt

I hope this changes meets your requirement.
Sorry for late reaction about this.

UV Island Copy/Paste feature is now merged to Magic UV add-on. blender/blender-addons@2cbb9e2b96 @DanielBystedt I hope this changes meets your requirement. Sorry for late reaction about this.

Note that basic UV copy/paste functionality seems reasonable between geometry with aligned indices.

And for situations when it would be useful to support more advanced mapping, support for this could be added separately.

Note that basic UV copy/paste functionality seems reasonable between geometry with aligned indices. And for situations when it would be useful to support more advanced mapping, support for this could be added separately.

Added subscriber: @1D_Inc

Added subscriber: @1D_Inc

Smart UV addon has similar functionality, but with a bit different approach, independent from indices

https://vimeo.com/192512458?embedded=true&source=video_title&owner=48181948

Smart UV addon has similar functionality, but with a bit different approach, independent from indices https://vimeo.com/192512458?embedded=true&source=video_title&owner=48181948

Added subscriber: @Chris_Blackbourn

Added subscriber: @Chris_Blackbourn
Chris Blackbourn self-assigned this 2022-10-12 21:55:29 +02:00

WIP

WIP

This issue was referenced by 721fc9c1c9

This issue was referenced by 721fc9c1c95017d55785ea42e7ba473a0285b9ad

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
11 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#77911
No description provided.