Timeline for Exporting UV Layout with only outlines
Current License: CC BY-SA 4.0
20 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 8, 2023 at 21:05 | vote | accept | Aleks K. | ||
| Feb 28, 2021 at 12:36 | history | edited | Aleks K. | CC BY-SA 4.0 | deleted 64 characters in body |
| Feb 28, 2021 at 9:37 | comment | added | brockmann | Pretty close (svg): i.sstatic.net/YyfrV.png, just have to figure out how to get rid of those remaining faces. Selected the outlines using seams_from_islands() operator as in question code in conjunction with Loop.edge.is_boundary (sync state set to false). However I still think this should be possible without the operator. | |
| Feb 26, 2021 at 22:32 | answer | added | Aleks K. | timeline score: 0 | |
| Feb 26, 2021 at 13:28 | answer | added | batFINGER | timeline score: 4 | |
| Feb 26, 2021 at 12:31 | comment | added | Aleks K. | As for the finding of the edges without any selection, I guess you're talking about using the bmesh method ? I know exactly how to get them, but I don't know how to later select them in the uv editor. For now the problem is that I can print them, but I don't know how to store them into a variable because it gives me an error because the object is not itterable | |
| Feb 26, 2021 at 12:16 | comment | added | Aleks K. | Sure, I've updated the question. There's the code for the edge selection process. At this point I haveclean selection of the outlines both in the 3D view and in the UV Editor. However if I now turn off the UV sync - I loose the selection. Now with UV sync off, I need to select the whole geometry in the 3D view and then I'll have access to UV manipulation where I need to somehow select all the borders again. The problem is that I don't have the option to select all UV Islands borders or all seams in the UV Editor, this, as far as I can tell, only works in the viewport | |
| Feb 26, 2021 at 12:09 | history | edited | Aleks K. | CC BY-SA 4.0 | added 1730 characters in body |
| Feb 26, 2021 at 10:58 | comment | added | brockmann | I don't see any reason why not. Also, should be possible to find the outlines using python without any selection in the UV editor / 3d view beforehand. Can you share the current state of your code? | |
| Feb 26, 2021 at 10:38 | comment | added | Aleks K. | Is it possible to make UV Layout work with selection with UV sync mode turned ON? If it is, then the problem is solved | |
| Feb 26, 2021 at 10:36 | comment | added | Aleks K. | Well, as I said selecting only the outlines work ONLY in uv sync mode because I first mark all the outlines as seams and then select them. The problem is that when UV sync mode is off, you need to select the whole mesh in the 3D view and then do the selection of the outlines in the UV Editor. This is a bummer because selection processes in the UV Editor are extremely limited and you can't select only borders, you can't select only seams, you're pretty much empty handed | |
| Feb 26, 2021 at 10:02 | comment | added | brockmann | Kind of? Can you share your code how to select the outlines of the islands? ... and ideally your uv's to test? | |
| Feb 26, 2021 at 9:20 | comment | added | Aleks K. | This kind of works but only has one problem. While I do have a way of selecting only the outlines of all the islands - it only works in UV Sync mode. The UV Layout on the other hand only exports what's selected with UV Sync turned off. So if there's a way to keep my selection in the uv editor when switching sync mode on/off then I think this would work | |
| Feb 26, 2021 at 9:08 | comment | added | Aleks K. | Thank you, I'll definetely try this since I already have a way to select only the outlines of all the islands!! Will report back right away if this works! | |
| Feb 26, 2021 at 8:18 | comment | added | brockmann | At a first glance, I think you should be able to export the current selection by replacing uvs = tuple(tuple(uv.uv) for uv in uv_layer[start:end]) by uvs = tuple(tuple(uv.uv) for uv in uv_layer[start:end]) if uv.select) (line 218) in the exporter. If so, you just have to find a way to select the outline of each island. Alternatively, it should be straight forward and just a few lines to save the selection to a svg file I guess, open source and well documented: w3.org/TR/SVG11 | |
| Feb 25, 2021 at 21:24 | history | edited | Aleks K. | CC BY-SA 4.0 | added 45 characters in body |
| Feb 25, 2021 at 21:15 | history | edited | Aleks K. | CC BY-SA 4.0 | added 45 characters in body |
| Feb 25, 2021 at 21:14 | comment | added | Aleks K. | I'll correct that. I meant that ONLY the border edges are overlaping, but the two islands are still separate. In these cases you can still link-select them separately since they aren't merged | |
| Feb 25, 2021 at 18:41 | comment | added | Nathan | "that have UV islands that are “glued” to each-other." If they're glued together in the UV editor, they're not separate UV islands. It sounds like you're actually after something other than the edges describing UV islands. Maybe you can clarify this in your question? | |
| Feb 25, 2021 at 18:32 | history | asked | Aleks K. | CC BY-SA 4.0 |