staughost
(staughost)
July 30, 2019, 5:45am
21
I love it that I can just paste the zip file on foru, here is the file as an addon. When I find the time Ill add buttons for iterations.
RelaxMeshAddon.zip (6.2 KB)
Here is gumroad link where I’ll be updating it. For me personally its more convenient if the original creator does not mind.
michaelws
(michaelws)
July 30, 2019, 7:22am
22
Wow that is really neat. Going to get the addon now. Thanks
Edited: I installed the addon but now don’t know where to find it within Blender 2.8. I hit the N key in edit mode but could not find it anywhere on the side panel under any of the tabs,
Where should I look to activate it?
Thanks
staughost
(staughost)
July 30, 2019, 7:20pm
23
When you enter edit mode it shoud be listed under Stau Tools.
michaelws
(michaelws)
July 30, 2019, 7:35pm
24
Found it…thanks Staughost. Turns out it doesn’t work well for me. Sends the vertices waaaay off. I will stick with “smoothing vertices” for now.
Could this be done for UVs instead of meshes?
staughost
(staughost)
July 30, 2019, 7:49pm
26
Actually I am working on a thing to make it work on UV-s. To be precise UV>Mesh>Relax>Mesh>UV.
1 Like
staughost
(staughost)
July 30, 2019, 8:25pm
28
Well when I understand how to do it in python I will
Jeacom
(Jeacom)
July 30, 2019, 8:39pm
29
bmesh seems to have uv data stored per loop, which seems to be like face corners:
https://docs.blender.org/api/blender2.8/bmesh.types.html?highlight=loops#bmesh.types.BMLoop
and you seem to be able to acess loops from any mesh element.
https://docs.blender.org/api/blender2.8/bmesh.types.html?highlight=loops#bmesh.types.BMVert.link_loops
https://docs.blender.org/api/blender2.8/bmesh.types.html?highlight=loops#bmesh.types.BMFace.loops
https://docs.blender.org/api/blender2.8/bmesh.types.html?highlight=loops#bmesh.types.BMEdge.link_loops
If I got it right, there’s no welding, each face contain its own set of loops and they can have any uv coordinate and if two loops belong to adjacent faces and have uv coords that point in the same place, then the uv editor considers them welded and displays one single vert
1 Like
staughost
(staughost)
July 30, 2019, 10:52pm
30
Whelp I have some reading to do, thanks