Forum: Poser Python Scripting


Subject: Script that fixes vertex order - testers welcome

odf opened this issue on Dec 06, 2021 ยท 14 posts


odf posted Thu, 09 December 2021 at 2:21 AM

Little heads-up: I've now written some replacement code for the one SciPy function I'm using in the script, which honestly was a lot of fun (yes, I like algorithms, sue me :smile:). If you're curious, google "assignment problem."

It's only really needed for fairly extreme cases, like when you have a creature with lots of teeth that all have the same topology, then do a radical change in the head shape and need to come up with a reasonable guess of which tooth went where.

I've written some randomized tests for it, so I am quite confident that it works correctly. If all goes well, I'll make the change to the main script tomorrow and add new version tags v0.9.1 and v0.9.1_py27. Version v0.9.1_py27 should theoretically work with all Poser version from whenever the switch from Numeric to numpy was made.

-- I'm not mad at you, just Westphalian.