So, I’ve run into a very large wall at the intersection of Maxscript and UVs.
Big picture, I’m working on a UV strip mapper. Users select faces, all those faces get scaled relative to each other, with nice, squared-off edges.
I’m going about that by breaking out each face, flattening it, and rectifying it with TexTools. The wall I’ve run into is in sewing all those faces back together. I’ve tried a few different methods of exclusion/inclusion to try and make sure I’m only stitching edges that are contained by the selected faces, but everything has come up short. In the UV Editor Window Maxscript knows which edges pair with which edges, but I can’t seem to find a maxscript method for accessing that information as a way to check whether or not an edge is valid to stitch.
Anyone have any ideas/leads? Is there something else I could be doing at a higher level to sidestep this problem altogether?