Hello, folks. Doing a bunch of calculations on UV faces and script is pretty slow. What I've noticed is that it works reliably faster if I switch modifier stack from unwrap to one modifier below (epoly in my case). Tried to switch modifiers in script, but it gets confused if there are several unwraps in a row, so I would…
Okay, sometimes you have to select in a loop, but the main issue in your original post was the duplicate work. You can take advantage of subtracting bit arrays to avoid the duplicated work. Check out these two functions below. The first takes 11 seconds on a default teapot and the second takes 1/10th of a second. The only…
Doing a bunch of calculations on UV faces and script is pretty slow. Technically the calculations are very fast, it's changing selection and moving things inside a loop that is slow. I don't know the full application of your script, but this snippet I sped up with no loss of functionality. Before unwrap selected time:7909…