Forum: Poser Python Scripting


Subject: Morphs: copying and mirroring

unrealblue opened this issue on Mar 04, 2020 ยท 30 posts


unrealblue posted Thu, 05 March 2020 at 11:53 PM

adp001 posted at 4:45PM Fri, 06 March 2020 - #4382593

I made a lib to deal with morphs. Last entry on my webpage (see footer).

When mirroring a morph you have to distinguish if you want to mirror per actor or per figure.

Mirroring per figure requires that you know the opposite actor. If this is the case you can simply copy all vertices with inverted values for the axis to be mirrored from the original.

Sweet, thank you! Figured I'm not unique in what I want :) . I'll check it out.

I wrote a script to create a mirror of a morph. It checks for symmetry, matches each vertex to its mirror, then just goes through the list of mirrored vertices and grabs the morph delta for the un-mirrored vertex. I was to the point of creating the new morph and applying the delats but I couldn't find a "create morph parameter" type function. It seems like every time I try to automate something that's not quite right or clunky in the GUI, I come up against API shortfall. Seemed like the "loadmorph" with a template, changing the name as needed was my only option.

Mirror isn't quite what I want, really. It's "reverse" or "flip".